3 ms·
I'd say the opposite - OOP is the paradigm that does the most to hide your data, hiding it within these encapsulated actors where you can't access it directly o
by lmm 3y ago
I'd say the opposite - OOP is the paradigm that does the most to hide your data, hiding it within these encapsulated actors where you can't access it directly or even see what and where you have.
- kendalf89 3y agoI would have thought that encapsulation hides the way data is processed, stored, and moved around. But the data itself is always available in my experience.
- lmm 3y agoSuppose the data is in a private field of an object deep in the object graph. How do you get it? You can't, by design - that object's public interface may expose some aspects of the data, but you're not meant to access the actual raw data.