2min chapter

Overtired cover image

329: I Am Not a Linter!

Overtired

CHAPTER

The Qualities of Code

modularity means that you can just update one function and everything else will work by properly reusing code. By making every action into a modular piece then when something breaks like say for example, you have a function that performs an API call. If you if that API call is in the script itself and and repeated multiple times editing, if that API changes, editing becomes a hassle. Whereas if you call out to a single function that makes the API call and maybe takes parameters that can change what the API call is, then if something changes in the API, you can just edit that one function andEverything continues working.

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