[Python-checkins] CVS: python/nondist/peps pep-0008.txt,1.5,1.6

Barry Warsaw bwarsaw@users.sourceforge.net
Thu, 20 Dec 2001 21:49:28 -0800


Update of /cvsroot/python/python/nondist/peps
In directory usw-pr-cvs1:/tmp/cvs-serv13999

Modified Files:
	pep-0008.txt 
Log Message:
Roger <roger.haase@usa.net> points out that "mixed case" is
inconsistently used both to describe mixedCase and MixedCase.
MixedCase should really be CapWords, reserving mixedCase for the
situation where the first letter is lowercased.

Also, add a comment that MixedCase is sometimes called CamelCase.
Note that the existing most common case usage is that CamelCase has an
initial capitalized letter.

http://www.wikipedia.com/wiki/CamelCase


Index: pep-0008.txt
===================================================================
RCS file: /cvsroot/python/python/nondist/peps/pep-0008.txt,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** pep-0008.txt	2001/11/01 13:03:30	1.5
--- pep-0008.txt	2001/12/21 05:49:26	1.6
***************
*** 275,279 ****
      - UPPER_CASE_WITH_UNDERSCORES
  
!     - CapitalizedWords (or CapWords)
  
      - mixedCase (differs from CapitalizedWords by initial lowercase
--- 275,280 ----
      - UPPER_CASE_WITH_UNDERSCORES
  
!     - CapitalizedWords (or CapWords, or CamelCase -- so named because
!       of the bumpy look of its letters[4])
  
      - mixedCase (differs from CapitalizedWords by initial lowercase
***************
*** 324,331 ****
      Module Names
  
!       Module names can be either MixedCase or lowercase.  There is no
        unambiguous convention to decide which to use.  Modules that
        export a single class (or a number of closely related classes,
!       plus some additional support) are often named in MixedCase, with
        the module name being the same as the class name (e.g. the
        standard StringIO module).  Modules that export a bunch of
--- 325,332 ----
      Module Names
  
!       Module names can be either CapWords or lowercase.  There is no
        unambiguous convention to decide which to use.  Modules that
        export a single class (or a number of closely related classes,
!       plus some additional support) are often named in CapWords, with
        the module name being the same as the class name (e.g. the
        standard StringIO module).  Modules that export a bunch of
***************
*** 400,403 ****
--- 401,406 ----
  
      [3] PEP 257, Docstring Conventions, Goodger, van Rossum
+ 
+     [4] http://www.wikipedia.com/wiki/CamelCase