Personal tools

Studly capitals

From HaskellWiki

(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
  +
delcnar
 
domcnaa
 
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 12:19, 8 November 2007

delcnar 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