Quote:Original post by jpetrieQuote:
Aren't static member variables the solution to globals? just wondering.
No, they're no different.
Exactly, but static member variables at least aren't exactly orphans, no need to redeclare them as extern in whatever source file you need access to them, and they move along with the class definition in case of code reuse.
I guess its a matter of practical evilness vs technical evilness? usability vs concept?