블로그 이미지
암초보

calendar

1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31

Notice

Tag

05-05 20:18

'분류 전체보기'에 해당되는 글 202

  1. 2015.03.10 변수 선언 위치
  2. 2015.01.20 F.I.R.S.T
  3. 2015.01.20 테스트는 왜....
  4. 2015.01.14 addEventListener IE8에서는,..
  5. 2015.01.13 템플릿/콜백 패턴
  6. 2014.12.15 Chrome 스크린샷 확장 프로그램
  7. 2014.11.21 Clean Code
  8. 2014.11.19 성능 테스트 참고
  9. 2014.11.13 PHP 수행 시간 측정
  10. 2014.09.26 php variable scope - if statements
2015. 3. 10. 11:14 프로그래밍/Code

Declare the variable in the smallest possible scope.



posted by 암초보
2015. 1. 20. 13:36 프로그래밍/TDD


Fast

Independent

Repeatable

Self-Validating

Timely

'프로그래밍 > TDD' 카테고리의 다른 글

@Ignore 활용법  (0) 2015.11.05
Given When Then  (0) 2015.11.04
테스트는 왜....  (0) 2015.01.20
TEST 용 import static 템플릿  (0) 2011.10.05
특정 테스트 메소드만 실행는 방법  (0) 2011.09.29
posted by 암초보
2015. 1. 20. 10:26 프로그래밍/TDD


"No matter how flexible your architecture is, no matter how nicely partitioned your

design, without tests you will be reluctant to make changes because of the fear that you

will introduce undetected bugs."

- Clean Code Chapter 9

'프로그래밍 > TDD' 카테고리의 다른 글

Given When Then  (0) 2015.11.04
F.I.R.S.T  (0) 2015.01.20
TEST 용 import static 템플릿  (0) 2011.10.05
특정 테스트 메소드만 실행는 방법  (0) 2011.09.29
Mockito  (0) 2011.09.26
posted by 암초보
2015. 1. 14. 16:55 프로그래밍/JavaScript

attachEvent를 사용하면 된다..


addEventListener('scroll')  =  attachEvent('onscroll')




'프로그래밍 > JavaScript' 카테고리의 다른 글

JavaScript does NOT support Method Overloading  (0) 2015.12.08
splice  (0) 2013.05.31
Math.floor, Math.round, Math.ceil  (0) 2012.02.02
Firefox css style float  (0) 2011.06.17
substring  (0) 2011.04.18
posted by 암초보
2015. 1. 13. 11:18 프로그래밍/Design patterns

간단하게 정리..



- 템플릿

바뀌지 않는 부분

고정의 틀

템플릿 메소드 : 파라미터로 익명 내부 클래스(콜백오브젝트) 사용


- 콜백

바뀌는 부분

템플릿 메소드 호출시 파라미터로 넘김

functional object : 특정 로직(바뀌는 부부분)을 수행하는 메소드를 가진 오브젝트





posted by 암초보
2014. 12. 15. 10:37 프로그래밍/기타

Awesome Screenshot

좋다.

posted by 암초보
2014. 11. 21. 08:37 프로그래밍/책

Clean Code

저자 : Martin, Robert C.



기본...

'프로그래밍 > ' 카테고리의 다른 글

SOLID 원칙 관련 책  (0) 2011.09.20
zzzzzz  (0) 2011.09.15
볼책  (0) 2010.01.29
posted by 암초보
2014. 11. 19. 11:05 프로그래밍/기타
posted by 암초보
2014. 11. 13. 14:37 프로그래밍/PHP

'프로그래밍 > PHP' 카테고리의 다른 글

php variable scope - if statements  (0) 2014.09.26
html tag 제거  (0) 2014.08.05
php 에서 excel로 저장시 br태그 문제  (0) 2013.06.25
posted by 암초보
2014. 9. 26. 16:19 프로그래밍/PHP

If statement blocks do not have their own scope.


즉, 아래 코드는 "Hello..."을 출력할 것이다.


$cond = true;
if($cond) {
      $a = "Hello...";
}
echo $a;




'프로그래밍 > PHP' 카테고리의 다른 글

PHP 수행 시간 측정  (0) 2014.11.13
html tag 제거  (0) 2014.08.05
php 에서 excel로 저장시 br태그 문제  (0) 2013.06.25
posted by 암초보