[PATCH] Choose syntax
Oswald Buddenhagen
ossi at kde.org
Tue Jul 12 07:37:39 UTC 2005
On Tue, Jul 12, 2005 at 10:26:03AM +0300, Pavel Tsekov wrote:
> > > static const int MAX_ENTRY_LEN = 40;
> > >
> > this is c++ (well, except that const implies static, i heard). maybe
> > its in newer c standards, too, but i'm not sure we want to depend on
> > them.
>
> It is a good practice.
>
sure. the preprocessor is evil.
> Do you say that older compilers won't grok this ?
>
yes. where older might be pretty recent non-gcc. if we depend on gcc,
this is hardly an issue; i think it groks it for a decade or something.
--
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.
More information about the mc-devel
mailing list