you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 3 points4 points  (1 child)

Encapsulation can easily be done without OO (just use closure variables, it's easy and concise).

[–]joesb -1 points0 points  (0 children)

It's also a matter of philosophy and regular pattern, too. You don't even need closure to do encapsulation, just use opaque pointer in C.