4 ms·
As long as an object's behaviour remains the same, the data can change without any problem. That's one of the big selling points of OO.
by Fargren 13y ago
As long as an object's behaviour remains the same, the data can change without any problem. That's one of the big selling points of OO.
- platz 13y agoSo, then is there some vocabulary that is lacking to describe the difference between these two ideas, but seem to use the same words?
- gnaritas 13y agoThey work together, by encapsulating the data internally, one is free to change its representation. It keeps the coupling to that data local, the objects methods.