News for hackers. Stuff that matters.
Re:Google SoundScript: faster OOP for JavaScript by Touche on Wednesday February 04, 2015 @03:25PM (#8999477)
ES6 classes are just syntactic sugar for constructor/prototypes like we write them today. You can mutate them as much as you like.
Re:Google SoundScript: faster OOP for JavaScript by greggman on Wednesday February 04, 2015 @03:30PM (#8999519)
not in SoundScript they aren't
Re:Google SoundScript: faster OOP for JavaScript by UberMouse on Wednesday February 04, 2015 @05:38PM (#9000498)
Pretty sure they still are syntactic sugar for prototypes, just like in ES6. But SoundScript enforces that you cannot modify prototypes. There's not really a problem with that, it's doing it for speed. So it's not for your average Javascript app where performance doesn't matter as much.