View Single Post
Old Jan 31st, 2007, 8:34 AM   #15
Arevos
Programming Guru
 
Arevos's Avatar
 
Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5 Arevos is on a distinguished road
Quote:
Originally Posted by DaWei View Post
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?
Arevos is offline   Reply With Quote