Quote:
Originally Posted by DaWei
I disagree. Object orientation is about building things as objects. The encapsulation may be used to protect parts of the object from unintended use, if one wants to call that hiding.
|
That's essentially what I was angling toward. OO restricts and hides information, and as far as I'm aware, this is the only difference between OO and procedural languages.
Unless you consider OO to be more a state of mind, rather than an syntactical attribute of a programming language?