const again

sambeau please-dont-spam-sambeau at mac.com
Thu Dec 6 17:53:20 PST 2007


Walter Bright Wrote:

> 'define' has been proposed before. I'd prefer to stay away from it 
> because of the negative connotations of C's preprocessor.

How about 'let' then?
It works for FP..

Or just 'def': it is a good short version of 'definite' in the way that 'int' is short for 'integer' and 'const' is short for 'constant'.

However, surely anyone can see that without a '#' in front 'define' is very different to '#define'.

s



More information about the Digitalmars-d mailing list