Size: 487
Comment:
|
Size: 837
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 4: | Line 4: |
== 이름짓는 방법들 == * x (single lowercase letter) * X (single uppercase letter) * lowercase * lower_case_with_underscores * UPPERCASE * UPPER_CASE_WITH_UNDERSCORES * CapitalizedWords (or CapWords) * mixedCase (differs from CapitalizedWords by initial lowercase character!) * Capitalized_Words_With_Underscores (ugly!) |
ComputerProgramming에 있어서 코딩할때 지키는 습관
Python style guide : http://www.python.org/doc/essays/styleguide.html
이름짓는 방법들
- x (single lowercase letter)
- X (single uppercase letter)
- lowercase
- lower_case_with_underscores
- UPPERCASE
- UPPER_CASE_WITH_UNDERSCORES
CapitalizedWords (or CapWords)
mixedCase (differs from CapitalizedWords by initial lowercase character!)
- Capitalized_Words_With_Underscores (ugly!)
[yong27]이 프로그래밍 할때 ([Python], [Java])
class는 대문자 명사 + 대문자 명사 (as WikiName)
method 및 function 은 소문자 동사 + 대문자 명사 (as WikiName)
- 함수의 인수는 'a' + 대문자명사
- tap은 space 4 (for indentation)