3min chapter

Legacy Code Rocks cover image

Software Design with John Ousterhout

Legacy Code Rocks

CHAPTER

The Importance of Testability in Automation

I think there's a sweet spot that if you focus on any one thing and try and push it to the extreme, you will probably end up in a bad place. So I want individual functions to be simple, but I don't want to have too many of them because the problem is every time I introduce a new function, I introduced a new interface for that function. And so you have to trade off how much have I simplified things by chopping a function in two? But now in order to do that, I've introduced another interface which everybody else has to learn. Every interface adds cognitive load. Yeah, I tend to try to manage or whether or not a class should be smaller or

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