3 ms·
A bit unrelated, but comes to the features of different languages and who introduced. Does anyone else still remember how JavaScript prototypical inheritance w
by miohtama 4y ago
A bit unrelated, but comes to the features of different languages and who introduced.
Does anyone else still remember how JavaScript prototypical inheritance was touted as a “good” idea?
- alwillis 4y agoI just posted a link about NewtonScript [1] in this thread, which had prototypical inheritance in the early 90s, which JavaScript later used. Short answer: it's more memory efficient than a full-blown OOP system. I was pretty active in the Newton MessagePad community back then and I knew lots of Newton developers; they loved NewtonScript and raved about prototypical inheritance. [1]: https://news.ycombinator.com/item?id=34047775 https://news.ycombinator.com/item?id=34047775
- jillesvangurp 4y agoThat particular feature came from a language called Self, which was a prototype object based dialect of Smalltalk invented at Xerox PARC in the late 1980s. https://en.wikipedia.org/wiki/Self_(programming_language) https://en.wikipedia.org/wiki/Self_(programming_language) It was one of several big language influences for Brendan Eich when he knocked out Javascript in a hurry a few years later.