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 …


This content originally appeared on Bram.us and was authored by Bramus!

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” →


This content originally appeared on Bram.us and was authored by Bramus!


Print Share Comment Cite Upload Translate Updates
APA

Bramus! | Sciencx (2021-04-26T20:42:33+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 ,<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 ]. 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 . 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: ]
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/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.