Skip to content

Commit 50b8e76

Browse files
oddmjjohnpapa
authored andcommitted
translate 'Small Functions' (johnpapa#796)
1 parent 15a7cf9 commit 50b8e76

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

a1/i18n/ko-KR.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,23 @@ Angular 팀의 리더인 Igor Minar 에게 특별히 감사합니다. 이 스타
115115

116116
**[Back to top](#table-of-contents)**
117117

118+
### Small Functions
119+
###### [style [Y002](#style-y002)]
120+
121+
- 작은 함수를 정의하세요, 75줄을 넘지 마세요 (적을수록 좋습니다).
122+
123+
*이유*: 하나의 일을하고 하나의 목적을 수행하는 작은 함수는 테스트하기 쉽습니다.
124+
125+
*이유*: 작은 함수는 재사용을 촉진합니다.
126+
127+
*이유*: 작은 함수는 읽기 쉽습니다.
128+
129+
*이유*: 작은 함수는 유지하기 쉽습니다.
130+
131+
*이유*: 작은 함수는 외부 scpoe와 변수를 공유하거나, 원하지 않는 closure를 만들거나, 원하지 않는 의존성과의 결합을 통해 만들어지는 숨겨진 버그를 피하는데 도움이 됩니다.
132+
133+
**[Back to top](#table-of-contents)**
134+
118135
## IIFE
119136
### JavaScript Closures
120137
###### [Style [Y010](#style-y010)]

0 commit comments

Comments
 (0)