2min chapter

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

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode