
Why getters and setters are terrible
The Eric Normand Podcast
00:00
The Pitfalls of Getters and Setters in Programming
This chapter critiques the use of getters and setters in programming, arguing they reduce classes to simple data structures devoid of meaningful functionality. It advocates for better API design, emphasizing the importance of encapsulation and logic in class structures.
Transcript
Play full episode