JavaScript Classes are not “just syntactic sugar”

Andrea Giammarchi: After reading yet another blog post about JS classes being “just sugar for prototypal inheritance”, I’ve decided to write this post to help clarifying, one more time, why this statement is misleading; a post that hopefully explains what’s the difference and why it matters to understand it. I also used to say this …

Andrea Giammarchi:

After reading yet another blog post about JS classes being “just sugar for prototypal inheritance”, I’ve decided to write this post to help clarifying, one more time, why this statement is misleading; a post that hopefully explains what’s the difference and why it matters to understand it.

I also used to say this — echo’ing statements by others — but will refrain from doing so from now on ?

JS Classes are not “just syntactic sugar” →


Print Share Comment Cite Upload Translate
APA
Bramus! | Sciencx (2024-03-29T11:49:02+00:00) » JavaScript Classes are not “just syntactic sugar”. Retrieved from https://www.scien.cx/2021/04/26/javascript-classes-are-not-just-syntactic-sugar/.
MLA
" » JavaScript Classes are not “just syntactic sugar”." Bramus! | Sciencx - Monday April 26, 2021, https://www.scien.cx/2021/04/26/javascript-classes-are-not-just-syntactic-sugar/
HARVARD
Bramus! | Sciencx Monday April 26, 2021 » JavaScript Classes are not “just syntactic sugar”., viewed 2024-03-29T11:49:02+00:00,<https://www.scien.cx/2021/04/26/javascript-classes-are-not-just-syntactic-sugar/>
VANCOUVER
Bramus! | Sciencx - » JavaScript Classes are not “just syntactic sugar”. [Internet]. [Accessed 2024-03-29T11:49:02+00:00]. Available from: https://www.scien.cx/2021/04/26/javascript-classes-are-not-just-syntactic-sugar/
CHICAGO
" » JavaScript Classes are not “just syntactic sugar”." Bramus! | Sciencx - Accessed 2024-03-29T11:49:02+00:00. https://www.scien.cx/2021/04/26/javascript-classes-are-not-just-syntactic-sugar/
IEEE
" » JavaScript Classes are not “just syntactic sugar”." Bramus! | Sciencx [Online]. Available: https://www.scien.cx/2021/04/26/javascript-classes-are-not-just-syntactic-sugar/. [Accessed: 2024-03-29T11:49:02+00:00]
rf:citation
» JavaScript Classes are not “just syntactic sugar” | Bramus! | Sciencx | https://www.scien.cx/2021/04/26/javascript-classes-are-not-just-syntactic-sugar/ | 2024-03-29T11:49:02+00:00
https://github.com/addpipe/simple-recorderjs-demo