Where it is stored doesn't matter, the point was to provide meaningful encapsulation. Put it all into one big struct and you haven't changed the problem one bit, just moved it around to another namespace. The point is to minimize the scope of access.

I mean, there is a reason why it's universally accepted as bad practice and anti-pattern, I don't make this stuff up just to annoy people.


Shitlord by trade and passion. Graphics programmer at Laminar Research.
I write blog posts at feresignum.com