[dev] Local vs global variables

From: QUINTIN Guillaume <coincoin169g_AT_gmail.com>
Date: Fri, 6 Nov 2009 18:34:25 +0100

Hi all,

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 ?

Received on Fri Nov 06 2009 - 17:34:25 UTC

This archive was generated by hypermail 2.2.0 : Fri Nov 06 2009 - 17:36:03 UTC