5 ms·
> methods can just be pure functions and objects can be immutable. This is true, but then you start wondering what the data hiding is for, especially if an obj
by pjc50 7y ago
> methods can just be pure functions and objects can be immutable.
This is true, but then you start wondering what the data hiding is for, especially if an object has getters for all its immutable members.