[Haskell-cafe] naming naming conventions (was: Re: Allowing hyphens in identifiers)

Richard O'Keefe ok at cs.otago.ac.nz
Fri Dec 18 00:46:19 EST 2009


On Dec 18, 2009, at 6:04 PM, wren ng thornton wrote:

> Richard O'Keefe wrote:
>> (Why do people call
>> baStudly syle "camel"?  Is there somewhere in the world a
>> species of camel with three or four humps, like
>> XmlNodeSansChildren?)
>
> camelCase differs from StudlyCaps in the case of the first character  
> (that is, XmlNodeSansChildren is *not* camelCase).
You missed the African gender prefix "ba-".
You will note that "baStudlyCaps" also does not start with a capital.
But you will also note that people talk a great deal about "camel case"
when they are referring to Java class names, which *do* begin with a
capital letter.  Think of XmlNodeSansChildren as a three-humped camel
with its head raised, and xmlNodeListSize as a three-humped camel with
its head lowered.  Same kind of weird off-world camel.





More information about the Haskell-Cafe mailing list