View mode: basic / threaded / horizontal-split · Log in · Help
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.
Top | Discussion index | About this forum | D home