Manifest constants (was const again)
Walter Bright
newshound1 at digitalmars.com
Sat Dec 8 18:35:47 PST 2007
John Reimer wrote:
> Walter Bright wrote:
>> John Reimer wrote:
>>> May I ask what Andrei Alexandrescu's opinion is of using 'enum' as
>>> manifest const? Seems to me that this choice wouldn't pass unnoticed
>>> by him, and I know he has some small influence on D. :-)
>>
>> He immediately liked it. So the condemnation of enum isn't quite as
>> universal as one might suspect reading these threads <g>.
>
>
> Yep, that's what I was wondering. It seemed that there might have been
> some support coming elsewhere. :-)
I didn't mention it before because appeal to authority is a logical
fallacy, the idea should succeed or fail on its own merits.
More information about the Digitalmars-d
mailing list