Re:Data Classes for Java
by pilif on Thursday November 02, 2017 @05:21AM
(#15608902)
If you ever have to change a fields meaning or add a new field and provide the old fields value for older clients, you can't just make it private and add a public setters and getters without breaking compatibility for all your users - not just binary compatibility but also source-level compatibility.
[ Parent
| on HN ]
There are no comments on this comment yet.