3 ms·
Setters I get (see what I did there?). It's the superfluous getters that simply return the values I'll never understand.
by mthoms 7y ago
Setters I get (see what I did there?). It's the superfluous getters that simply return the values I'll never understand.
- Izkata 7y agoSee my cousin comment - it maintains compatibility when changes are internal to the class. For example, if a field was switched from concrete to derived, you'd have to switch the attribute to a getter, which would break compatibility with the previous version.