On 5/2/2014 4:02 AM, bearophile wrote:
Walter Bright:

You've already got it working with version, that's what version is for. Why
add yet another way to do it?

Because I'd like something better. It's an idiom that I have used many times
(around 15-20 times). I'd like the compiler (or build tool) to avoid me to
specify two times what the main module is.

Also, the current way to do it, in those modules I have to specify the module
name two times (once at the top and once at the bottom, unless I use some
compile-time syntheses of the version identifier from the current module name).

D has so many language features, we need a higher bar for adding new ones, especially ones that can be done straightforwardly with existing features.

Reply via email to