The Eric Normand Podcast cover image

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

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app