A lot of the challenge, or most of the messy code, lived in this h t m l side of things. Even beginners are able to tell that you're creating an empty list there. Comments should add value that is not explicitly clear from the code. There's no reason to base state what the code is doing. Typically, comments should say why. If it's not clear why something is being done a certain way, or something that’s implicit and not explicitlyclear from what thecode is doing. And that's where the no came from. Is freally idressing the example of col i do think that a lot of the refactory, or, let's try to

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