7 ms·
Generating getters is actually 2 IDE clicks that will protect you down the road. Trying to refactor fields that made it into a public API is a nightmare. If y
by jayd16 2y ago
Generating getters is actually 2 IDE clicks that will protect you down the road.
Trying to refactor fields that made it into a public API is a nightmare. If you're shipping code people use, you won't get to refactor their projects from your upstream library.
Also, no one is suggesting everything needs a setter. Where is this coming from?
- alserio 2y agoIf I could I would make this two IDE clicks behind a big mean warning. In my experience people tends to autopilot it without thinking about what that entails.