delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/02/18/13:37:53

Date: Fri, 18 Feb 2000 18:41:58 +0600 (LKT)
From: Kalum Somaratna aka Grendel <kalum AT crosswinds DOT net>
X-Sender: root AT darkstar DOT grendel DOT net
To: djgpp AT Delorie DOT com
Subject: Re: Global variables and structs?
In-Reply-To: <Pine.LNX.4.10.10002180722240.1033-100000@midpec.com>
Message-ID: <Pine.LNX.4.10.10002181838020.630-100000@darkstar.grendel.net>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: dj-admin AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Fri, 18 Feb 2000, Prashant TR wrote:

> On Fri, 18 Feb 2000, Kalum Somaratna aka Grendel wrote:
> 
> > So IMHO _calculated_ not _haphazard_ use of global variables should be
> > done especially in large projects.
> 
> Yes, calculated is alright provided you calculate right! ;-)
> 

IMHO This will depend on the programmers experience etc, but I don't agree
with the people who look upon the usage of global variables as some kind
of plague which is to be avoided. If quick a look is taken at the loads of
software available , it would be found that a large number of projects use
global variables.


Thanks,
Grendel


Hi, I'm a signature virus. plz set me as your signature and help me spread
:)

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019