3 ms·
> For me, now that I recall it, getters and setters in Java made no sense so much that I only got them after maybe a year, though I dont even know why didn't th
by ajuc 6y ago
> For me, now that I recall it, getters and setters in Java made no sense so much that I only got them after maybe a year, though I dont even know why didn't they make sense at the time.
well they don't make sense :) 99% of the time they are just a pointless ritual to appease the OOP god.
I especially love when company mandates 90% test coverage and no lombok so I get to write tests for setters and geters :)