Re: Nautilus coding style change



On 02May2003 03:05PM (+1000), Jeff Waugh wrote:
> <quote who="Maciej Stachowiak">
> 
> > However, with C99, the entire reason for the rule is obsolete. It should
> > now be possible to put declarations anywehre, so putting them at the start
> > of an if or while block should impose no special problems for others
> > changing the code in the future.
> 
> To my knowledge, you can only do that with GCC 3.x, which might not be an
> altogether reasonable assumption on our part. We could say it's an absolute
> dependency, but do we want to? :-)

Well, C99 is 4 years old now. At some point it's got to be OK to use
it. For comparison, when the Linux kernel was originally released, C89
was 2 years old.

Not that I care much, since I am not writing any Nautilus code these days.

Regards,

Maciej



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