Two's Complement cover image

Semi-Solid Principles

Two's Complement

CHAPTER

The Single Responsibility Principle and the Dry Principle

The litmus test for me is something like this. If my boss comes to me and he says, well, we need to change this business logic, right? And I, with the knowledge of the code, look at the code and say, okay, but if we change that, then we're also going to have to change this. His reaction tells me whether or not I've followed the single responsibility principle correctly. We should have maybe think, as I was reading this actually, of the thing you've mentioned before, the one second's worth of microservices,. Like it's really hard to measure how big something is. You have to kind of come up with some heuristic,

00:00
Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner