Size: 837
Comment:
|
← Revision 5 as of 2011-08-03 11:00:49 ⇥
Size: 558
Comment: converted to 1.6 markup
|
Deletions are marked like this. | Additions are marked like this. |
Line 5: | Line 5: |
== 이름짓는 방법들 == | == 이름짓는 다양한 방법들 == |
Line 17: | Line 17: |
== [yong27]이 프로그래밍 할때 ([Python], [Java]) == * class는 대문자 명사 + 대문자 명사 (as WikiName) * method 및 function 은 소문자 동사 + 대문자 명사 (as WikiName) * 함수의 인수는 'a' + 대문자명사 * tap은 space 4 (for indentation) |
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!)