Why getters and setters are terrible

The Eric Normand Podcast - Ein Podcast von Eric Normand

Kategorien:

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.

Visit the podcast's native language site