Tech Lead Journal cover image

#89 - Code That Fits in Your Head - Mark Seemann

Tech Lead Journal

CHAPTER

The Command Cro Separation Pattern Is Really Powerful

If you have an operation that is a command only, it's all about the side effects. You can always tell by the method signature that it has d it has no return value. But then if you know that a particular code base is designed according to the command cro separation principle, then you know that whenever you run into something that does produce output, it will have no sid effects. That cuts down on the number of different fires you have to go and visit in order to understand what's going on. I think this pattern is really worth two implement in your coat.

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