minus-squareDarthFrodo@lemmy.worldtoProgrammer Humor@lemmy.ml•object.setobject(object.getobject().object).to_object()linkfedilinkarrow-up1·1 year agoThe neat thing is, you can add stuff like range checks and logging for getters and setters without changing every call. Separation of concerns is also vital in larger projects. linkfedilink
The neat thing is, you can add stuff like range checks and logging for getters and setters without changing every call. Separation of concerns is also vital in larger projects.