3 ms·
I 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.
by kendalf89 3y ago
I 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.