Manifest constants using 'manifest' keyword?
Derek Parnell
derek at psych.ward
Fri Dec 21 07:13:55 PST 2007
On Fri, 21 Dec 2007 12:07:03 -0300, 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.
>
I agree. Until one gets to know what it means, "manifest" looks like a noun
rather than an adjective. I can just see newbies saying things like ...
"what is a 'manifest'" when confronted with stuff like ...
manifest
{
int Foo;
long Bar;
}
--
Derek Parnell
Melbourne, Australia
skype: derek.j.parnell
More information about the Digitalmars-d
mailing list