3 ms·
Finally someone mentions using getters to create read only fields. Objects are the owners and guardians of their own state. I don't see how this is possible wit
by gmueckl 8y ago
Finally someone mentions using getters to create read only fields. Objects are the owners and guardians of their own state. I don't see how this is possible without having (some) state-related fields that only can be read from the outside.
- pjmlp 8y agoPretty obvious to readers of "Object-Oriented Software Construction" from Meyer. A big problem is cargo culting without reading the CS references.