PhobosWatch: manifest => enum

BLS nanali at nospam-wanadoo.fr
Sun Dec 30 02:13:35 PST 2007


Walter Bright schrieb:
> BLS wrote:
>> Why not keeping enum as it was and use manfifest as enhanced enum ?
>> Seems to be a clean solution.
> 
> Because, then there's a fourth way to declare constants. 3 seems to be 
> enough.

In case that you can use a keyword in 4 different ways this will 
increase the change for wrong use to exactly  300  percent ;-)

I agree with Bill B;, who mentioned in another thread that the number of 
keywords is not nessesarly an indicator for a complex language.

Bjoern



More information about the Digitalmars-d mailing list