Why The D Style constants are written in camelCase?

Dmitry Olshansky dmitry.olsh at gmail.com
Wed May 9 14:12:41 UTC 2018


On Wednesday, 9 May 2018 at 09:38:14 UTC, BoQsc wrote:
> The D Style suggest to camelCase constants, while Java naming 
> conventions always promoted uppercase letter.
>
> Is there an explanation why D Style chose to use camelCase 
> instead of all UPPERCASE for constants, was there any technical 
> problem that would appear while writing in all UPPERCASE?

It is D style for standard library. It is mostly arbitrary but in 
general sensible.
That’s it.





More information about the Digitalmars-d-learn mailing list