Manifest constants using 'manifest' keyword?
Kris
foo at bar.com
Fri Dec 21 18:58:32 PST 2007
JJR, "manifest" is something that anyone who used BCPL would instantly
recognize: http://www.lysator.liu.se/c/clive-on-bcpl.html
- Kris
"John Reimer" <terminal.node at gmail.com> wrote in message
news:fkglce$t7l$1 at digitalmars.com...
> Leandro Lucarella wrote:
>> According to phobos changeset 535[1] I guess we have a new 'manifest'
>> keyword to define manifest (to be redundant) constants. I really think he
>> should went with alias or macro or with other better *existing* keyword,
>> but is definitely better than enum.
>>
>> [1] http://www.dsource.org/projects/phobos/changeset/535
>>
>
> Ack! The masses succeeded in influencing Walter and Andrei... thus
> proving me completely wrong! Oh no! :)
>
> That'll teach me about getting all philosophical. :P
>
> mainfest is better than enum, at least, although I see they still chose
> something "different". Looking good!
>
> -JJR
>
More information about the Digitalmars-d
mailing list