2 ms·
> modifying internal properties in unexpected ways Except I'm talking about Java classes that store data. They don't do any operations on it, they don't have a
by grishka 6y ago
> modifying internal properties in unexpected ways
Except I'm talking about Java classes that store data. They don't do any operations on it, they don't have any internal state, they're more like C structs.
> Also, getters and setters don't always modify individual values.
Of course. But one doesn't contradict the other.