Personal tools

Studly capitals

From HaskellWiki

(Difference between revisions)
Jump to: navigation, search
m (nobasvarri)
Current revision (06:27, 21 December 2007) (edit) (undo)
m
 
Line 1: Line 1:
-
zelcool
 
-
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 <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>.

Current revision

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