Re: [PATCH] Choose syntax



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.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]