Why getters and setters are terrible
The Eric Normand Podcast - A podcast by Eric Normand
Categories:
Getters and setters kick the domain modeling can down the road. They leave the real design work to some other part of the code. They don’t do enough to protect the semantic integrity of the object. They’re terrible.