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


SeeAlso CodingStandard, CodingStyle

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

web biohackers.net