5 ms·
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
by dwroberts 8mo 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.