
Clean Code – Objects vs Data Structures
Coding Blocks
00:00
Is That a Bad Approach?
i like the idea that there's only one reason for things to change. Younow, if i had a property, i'd go add it to the data file. If i'm changing the behavior of some data, which may be in any number of places, then i should go modify the objects. I think about what your data points are, and then you think about the functionality you need of it. And so it's interesting that my default is a is a bad behavior. Why? I'm doing wrong all the time, apparently. It seems like it might have the fame werwe don't ave it. There was an application on face bookor maybe some sort of java
Transcript
Play full episode