Coding Blocks cover image

Clean Code – Objects vs Data Structures

Coding Blocks

00:00

Adding Methods to a Classe?

T really does imply that all you're doing is setting properties on this and then using those properties somewhere else. They are supposed to be exposed properties. But as soon as you start adding functionality to it, it is longer just a transfer object. T: Would you say that's a good signal? Like, if you're adding methods to classes, that you're probably doing things more procedurey? O: I don't know that that's necessarily bad either. And some people argue that o's not even the right way to so things, but that's true. Do bis to use beans to job o? People do beans? Ye, dud ive seen em.

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