Why The D Style constants are written in camelCase?
BoQsc
vaidas.boqsc at gmail.com
Wed May 9 09:38:14 UTC 2018
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?
Java language references:
https://en.wikipedia.org/wiki/Naming_convention_(programming)#Java
https://www.javatpoint.com/java-naming-conventions
http://www.oracle.com/technetwork/java/codeconventions-135099.html
https://medium.com/modernnerd-code/java-for-humans-naming-conventions-6353a1cd21a1
D lang reference:
https://dlang.org/dstyle.html#naming_constants
More information about the Digitalmars-d-learn
mailing list