Nick Sabalausky Wrote: > "Lars T. Kyllingstad" <[email protected]> wrote in message > news:[email protected]... > > http://d-programming-language.org/version.html#PredefinedVersions > > > > Why is the "linux" version identifier all lowercase? > > Because it's from the time when D/Phobos policy was to expect users know > where an identifier was borrowed from in order to know how to > spell/capitalize it, instead of being internally consistent. > > Seriously. > > I remember NG discussions a while back about why the "linux" identifier was > all-lower, and that's pretty much all it amounted to, much like the > pre-2.054 std.string. Well, a combination of that and the language's > irritating inability to distringuish between an "off" version and a mistyped > version (although this particular argument hinged on the assumption that > porting C to D is a more important use of D than writing new D code). > > Ok, so I'm biased on the matter ;) > >
It should probably just work for both lower and upper case. I doubt anyone would define their own identifier based on a case difference.
