Hacker News new | ask | show | jobs
by dwroberts 122 days ago
I think getters and setters had more value when IDEs and refactoring tools were worse (or non-existent).

A free-for-all accessing some public field is now less of a risk because it’s trivial to find all references and change them.