Hi

> > Absolutely, but that doesn't mean you should introduce more of your own.
>
> Woe woe woe.  First you say "Globals are bad *ALL THE TIME*."  Then you
> accept globals that are in the framework.  The whole point of my above
> paragraph was meant to counter your statement, and you agree with my
> paragraph.

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.

> > Then they should probably be paramtised from above.
>
> I didn't quite catch that one.

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.

>
> > 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.

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
msvc@beginthread.com
See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for 
subscription changes, and list archive.

Reply via email to