remove keywords
mandel
oh at no.es
Fri Dec 7 00:55:45 PST 2007
A proposal in a nutshell:
- removal of the keywords "unittest, "version" and similar.
- replaced by global compile time variables.
- "dmd -<name>=<value>" to set them. Variables not found result in
compiler warnings
- "dmd -list version*" or similar to list all global variable names with
prefix "version"
-> less keywords, more powerfull control (use in boolean expressions),
more native syntax, easier to understand
Ideas? Problems? Objections?
btw.:
bool enableXYZ;
if(enableXFZ) import foo.Bar;
..might be hairy to implement?
More information about the Digitalmars-d
mailing list