|
|
Warp wrote:
> You are on the right track, though: Global variables should and can
> be avoided (there are very few exceptions to this rule, of which eg.
> std::cout is a good example (I consider std::cout to be a "global" variable
> even though it's inside a namespace), where practicality compensates
> globality more than enough), and clean abstract designs should be preferred.
OOC, do you consider static members to be global? They're not tied to an
instance of an object, but are generally available throughout the
program (if made public)
Post a reply to this message
|
|