Differences between revisions 2 and 3
Revision 2 as of 2005-07-17 19:25:30
Size: 487
Editor: 127
Comment:
Revision 3 as of 2005-07-17 19:28:53
Size: 837
Editor: 127
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)


SeeAlso CodingStandard, CodingStyle

CodingStandard (last edited 2011-08-03 11:00:49 by localhost)

web biohackers.net