News for hackers. Stuff that matters.
Re:Lisp, Smalltalk, and the power of symmetry (2014) by igouy on Sunday May 29, 2022 @08:16PM (#31554214)
Like some other incredibly widely used programming language?

https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Ob...

Re:Lisp, Smalltalk, and the power of symmetry (2014) by skissane on Sunday May 29, 2022 @08:39PM (#31554361)
Which it is worth pointing out has (relatively recently, in 2015's ES6) added classes too – which are mostly just syntactic sugar for prototypes (but not entirely, since they also add some new semantics for which there is no equivalent in pure prototype-based code.) Looking to the future, they are likely to add more new semantics and syntax to classes, which will have no direct equivalent in pure prototypes, causing JavaScript/ECMAScript to evolve from a purely prototype-based language into more of a hybrid between prototype-based and class-based OO.