Re:Was object-oriented programming a failure? (2015)
by naasking on Sunday March 12, 2017 @09:23PM
(#13854512)
> One of the core principles of the OOP is encapsulation - your object does not appear in inconsistent state to the outside world.
This is not a defining feature of OOP, because it's a characteristic of abstract data types which predate OO. William Cook managed to distill the essence quite clearly I think [1].
This is not a defining feature of OOP, because it's a characteristic of abstract data types which predate OO. William Cook managed to distill the essence quite clearly I think [1].
[1] http://www.cs.utexas.edu/~wcook/Drafts/2009/essay.pdf