Why getters and setters are terrible

The Eric Normand Podcast - Podcast autorstwa Eric Normand

Kategorie:

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