December 16, 2007 How about 'constant' for manifest constants | ||||
---|---|---|---|---|
| ||||
How about... constant int three = 3; ...leaving const, enum, alias, final, etc. un-overloaded. Having 2 similar keywords encourages the programmer consider the difference between them. 'constant's are decidely more constant than 'const's. I know you didn't want another pointless thread, but I've only just read (well skimmed) them all and just can't resist. Sorry, Chris. |
Copyright © 1999-2021 by the D Language Foundation