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

From: Jeff Garzik (jgarzik@mandrakesoft.com)
Date: Sat Nov 25 2000 - 18:02:51 EST


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Nov 30 2000 - 21:00:14 EST