Skip to content
Global sound
Oh, That's Why.

Oh, That's Why.

EP17 — Classes — Syntax Sugar Over Prototypes

· 14 min · Season 2 Episode 17

Show notes

People love to say JavaScript classes are "just syntactic sugar over
prototypes." It's mostly true — but the word "just" is hiding something.

In this Season 2 finale, Alex Vega explains what the class keyword actually
compiles to — constructor functions and prototype chains — and where the
sugar story breaks down: real private fields, which the prototype system
genuinely cannot reproduce. Everything from the season converges here.

You can find the Medium article here.

Oh, That's Why. — JavaScript, finally making sense.

#JavaScript, #Web Development, #Programming, #Software…

Website: podcasters.spotify.com

Live, last hour: 11,330 songs on 6,185 stations in 145 countries

Discover the world through radio

More ways to discover (9)

Heard something good? Save it, or open it straight away in Spotify.

★ Artist of the week The fastest riser on the radio this week
Your song here? From € 9 per week →
Radio 538 luisteren - Live!Popular right now