??? 09/20/06 17:15 Read: times |
#124696 - I'm Done Preaching Responding to: ???'s previous message |
Erik said:
please do understand that I am not, actually, arguaing against what you say, Really? You fooled me on that one. Erik said:
I am arging agaist preaching it as gospel. Here are a few direct quotes from my previous quotes: Russ said:
Global varaibles are to be avoided generally, but sometimes they make sense.
As far as "slowing everything down", sure, there's going to be some performance overhead. When it matters, then you have to "break the rules" (Russell again) and do what you gotta do. When performance is not an issue, however, it's way more important to worry about building programs that you can debug and maintain than it is to fret over a few inconsequential machine cycles. Global variables are evil because they compromise your (mandatory) efforts toward modular programming. Avoid them when you can. (Emphasis added.) As you can see, I've not been preaching anything as gospel. I don't know where you got the idea that I was. This is going to get repetitive and pointless if we continue it much further, so I'm going to bow out of the discussion now. Hopefully it's given those who've been following along something to think about. -- Russ |