Hi > > Not even I'm stupid enough to think you can counter the global variables > > that other peoples put in thier code. And you know I'm one for blanket > > statements that need clarifying later. > > Awe, come on. It's stupidity that makes flames last so long ;-).
You know that as well as I do. ;-) > > Instead of having a global, you declare the variable locally (or as a > > memeber) at the highest place it's needed. The ultimate highest place you > > could need something is main. > > Ah, ok. Yeah, maybe we just create a global class (CGlobal) that then holds > everything that should be global, thus we only have one global. No! No globals. The highest possible level is main(). > >> > We'll not mention how bad Hungarian notation is. ;-) > >> > >> And not to mention how useful it is too! > > > > I never found it so. It's more of a hindrance and a lot of extra work in a > > code base that is constantly changing. > > You know what they say, design twice - code once. :-) You're not serious? I take it you haven't embraced TDD? Regards Paul Paul Grenyer email: [EMAIL PROTECTED] web: http://www.paulgrenyer.co.uk articles: http://www.paulgrenyer.dyndns.org/articles/ "15 miles to the love shack...." _______________________________________________ msvc mailing list [email protected] See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for subscription changes, and list archive.
