Difference between revisions of "Studly capitals"
Jump to navigation
Jump to search
m |
m (spelling) |
||
Line 1: | Line 1: | ||
− | This is a convention for naming identifiers, where the |
+ | 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>. |
− | Note that due to Haskell syntax, this would imply the |
+ | 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