News for hackers. Stuff that matters.
Re:I laugh at your puny human 'objects' by gdp on Tuesday August 25, 2009 @10:33AM (#784902)
> Instead of "hiding", think of encapsulation as "organizing". You can organize verbs, most of the time, by the parts of program state they deal with.

Isn't that reinforcing the point that the main way that OOP is useful is for name-space control, which is achievable in many non-OO ways?

Re:I laugh at your puny human 'objects' by apotheon on Tuesday August 25, 2009 @12:20PM (#785123)
I think that's the point -- encapsulation is achievable in many non-OO ways, and encapsulation is basically just a subset of namespace management. In other words, encapsulation itself isn't necessarily bad, so griping about encapsulation doesn't seem like a very productive way to "prove" that OOP is "bad".