Re: [dev] Local vs global variables

From: Kris Maglione <>
Date: Fri, 6 Nov 2009 12:38:29 -0500

On Fri, Nov 06, 2009 at 06:34:25PM +0100, QUINTIN Guillaume wrote:
>Someone just told me that, when writing C code, one should NOT use ANY
>global variables. He did not tell me to use global variables as few as
>possible, he did tell me to use ABSOLUTELY NO global variables in any
>kind of C code (single program, library, OS kernel, any kind there is
>What do you think about that ?

I'd say that he's the kind of teetotaling fundamentalist that
you can safely ignore.

Kris Maglione
The tragedy of modern war is not so much that young men die but that
they die fighting each other, instead of their real enemies back home
in the capitals.
	--Edward Abbey
Received on Fri Nov 06 2009 - 17:38:29 UTC

This archive was generated by hypermail 2.2.0 : Fri Nov 06 2009 - 17:48:01 UTC