Overtired cover image

329: I Am Not a Linter!

Overtired

00:00

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.

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