On Wednesday, 9 May 2018 at 09:51:37 UTC, bauss wrote:
Just because.
To add on to this.
D is not Java, it's not C++, it's not C# etc.
D is D and D has its own conventions.
You're free to write your constants in all uppercase if you want.
I guess if I should come up with an actual reason then it would
be that constants are so common in D as not just constant values,
but as "variables" to compile-time functions that are evaluated.
Which is different from eg. Java where you only have constant
values.