Strictness of language styling

via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Nov 10 13:36:18 PST 2014


On Monday, 10 November 2014 at 19:37:06 UTC, H. S. Teoh via 
Digitalmars-d-learn wrote:
> I have to say that I *hate* camelCase... it looks really ugly. 
> But what
> looks uglier is a mixture of camelCase and something else.

Ah, but here I disagree. I like to use different formatting for 
different levels of semantics. I prefer lower case for ADT 
structs and CamelCasedClassesToSignifyDomainSpecificity.

Basically distinguishing high level from low level. It makes 
sense to give more EMPHASIS to high level constructs.

(but camelCase in ADTs and generic libraries suck ;-)


More information about the Digitalmars-d-learn mailing list