2min chapter

Legacy Code Rocks cover image

Software Design with John Ousterhout

Legacy Code Rocks

CHAPTER

How to Reduce Complexity in Code

Anything that makes it hard for you to work in code is complexity. If you find it hard to read somebody's code, that's complexity. The overall goal, I think, is to reduce the complexity of the overall system. Each one of them may be individually simple. But if I think about the system, now I have thousands of functions that I have to understand how they all fit together and work together. And so at the system level, it may actually be quite complicated, even though the individual functions are very simple. So, I would say complexity applies at all these levels, but when trying to reduce it, you want to do it systemically.

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