Difference between revisions of "Studly capitals"

From HaskellWiki
Jump to: navigation, search
(HaWiki conversion)
 
Line 1: Line 1:
  +
domcnaa
 
This is a convention for naming identifiers, where the identifer starts with a capital letter and words begin with capital letters and are not separated by underscores. So, for example, one would use <hask>SomeMultiWordName</hask>.
 
This is a convention for naming identifiers, where the identifer starts with a capital letter and words begin with capital letters and are not separated by underscores. So, for example, one would use <hask>SomeMultiWordName</hask>.
   

Revision as of 06:20, 7 November 2007

domcnaa This is a convention for naming identifiers, where the identifer starts with a capital letter and words begin with capital letters and are not separated by underscores. So, for example, one would use SomeMultiWordName.

Note that due to Haskell syntax, this would imply the identfier is a type, constructor or class name.

See also: Camel case