2min chapter

Syntax - Tasty Web Development Treats cover image

Our Code Styles

Syntax - Tasty Web Development Treats

CHAPTER

Can't Cod Without Em.

I'm using const for everything, unless it gets actually re defined. Then i will use let, but only because i'll start with const and then as iwait actioning to changes variable, iman use let. Wors var is we should say, var is function scoped, not block scoped. So any time you have a set curly brackets, you can think of them as a fence that are keeping your latin conts values in,. whereas v for variables, will leak outside. And that's a kind of annoying for, like, four loops and what not. I started out using the implied types quite a bit, just letting typescrip do its magic. But

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