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).

Bye,
bearophile

Reply via email to