DEV Community

Discussion on: Avoid getters and setters whenever possible

Collapse
 
rodislavable profile image
Rodislav Moldovan

The article should be named: avoid auto-generation of getters and setters, (because it can cause free mutability issues on a plain field).
And has nothing to do with getters and setters in general.

Just fix the title and article will start to make way more sense, we all know - naming is the most difficult problem.