
Clean Code – Objects vs Data Structures
Coding Blocks
00:00
DotNet Date Time Structure
The date time structure in dot net is a structure, but you can very easily forget that it is with all the methods that it has. It's kind of weard that you can like, run your query and then set the time out. You know, it doesn't make a lot of sense. And so it's just a matter of allowing people to mess with your internals. That's one example, but i guess as a general rule, though, i think it can be a little bit more expressive sometimes. Or it feels like that.
Transcript
Play full episode