3min chapter

Syntax - Tasty Web Development Treats cover image

Syntactic Sugar, Declarative and First Class Citizens? What does that even mean?

Syntax - Tasty Web Development Treats

CHAPTER

JavaScript Classes Are Just Syntactic Sugar

Sugar or syntactic sugar up now you often you'll hear it just shortened to sugar many times What does this mean? It's basically what you're getting is a nicer more human readable syntax for the same things that you'd be doing in a maybe not even always more complex way but sometimes just an uglier way so to say. But me personally, you know, I'm a fan of sugar in many ways You know it should be evident by my usage of spelt because something like the dollar sign and spelt Is syntactic sugar to reference a subscription? And when we got back ticks for template strings, that's just syntactic sugar over um the ability to Close a string

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