Difference between revisions of "Studly capitals"

From HaskellWiki
Jump to navigation Jump to search
m (nobasvarri)
m (spelling)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
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>.
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>.
 
   
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