Difference between revisions of "Studly capitals"

From HaskellWiki
Jump to: navigation, search
m (spelling)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
delcnar
 
 
This is a convention for naming identifiers, where the identifier 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>.
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>.
 
   
Note that due to Haskell syntax, this would imply the identfier is a [[Type|type]], [[Constructor|constructor]] or [[Class|class]] name.
+
Note that due to Haskell syntax, this would imply the identifier is a [[Type|type]], [[Constructor|constructor]] or [[Class|class]] name.
   
 
See also: [[Camel case]]
 
See also: [[Camel case]]

Latest revision as of 18:55, 2 September 2013

This is a convention for naming identifiers, where the identifier 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 identifier is a type, constructor or class name.

See also: Camel case