No need for version expression is a lie

Adam D Ruppe destructionator at gmail.com
Thu Aug 24 17:35:19 UTC 2023


On Thursday, 24 August 2023 at 16:26:10 UTC, John Colvin wrote:
> We have the ability to declare information (`enum`s and so on) 
> & branch on it at compile time (`static if`), we have a package 
> & module system to handle who can and does read that data. 
> Beyond that, it's the author & build system’s problem imo.

Yeah, it would be kinda interesting if `core.build_environment` 
just predefined some enums and `version` was eliminated.

Would be a simplification of the language and enable new things 
since you could maybe reflect over it! lol


More information about the Digitalmars-d mailing list