Re: [PATCH] removal of "static foo = 0"

Jeff Garzik
2000-11-25T23:33:42Z

Andries Brouwer wrote:
> In a program source there is information for the compiler
> and information for the future me. Removing the " = 0"
> is like removing comments. For the compiler the information
> remains the same. For the programmer something is lost.

This is pretty much personal opinion :)

The C language is full of implicit as well as explicit features. You
are arguing that using an implicit feature robs the programmer of
information. For you maybe... For others, no information is lost AND
the code is more clean AND the kernel is smaller. It's just a matter of
knowing and internalizing "the rules" in your head.

Jeff

--
Jeff Garzik |
Building 1024 | The chief enemy of creativity is "good" sense
MandrakeSoft | -- Picasso