Doug Moen
01/25/2020, 12:09 AM@Edward de Jong / Beads Project "Javascript is way more directly related to Actionscript 2 and its predecessors than Self."The timing is wrong for this. Javascript was released in 1995. Actionscript 1.0 was released in 2000, the first version to support OOP, and it copied its object model (prototype based inheritance) from Javascript. Actionscript 2.0 was released 2003 and introduced class-based inheritance. Javascript was designed by Brendan Eich. The language was originally codenamed Mocha, later LiveScript, and the initial idea was "Scheme for the browser". However, Netscape had entered a partnership with Sun to include Java in the browser, and this led to a new requirement from management that LiveScript should be a companion to Java. So it was renamed Javascript and given a C-like syntax. Brendan Eich himself describes Javascript as "a quickie love-child of C and Self" (from his blog: https://brendaneich.com/2008/04/popularity/). Why was Javascript derived from Self? The designers of Self were now working for Sun, and the Sun/Netscape partnership may explain how Self became the direct ancestor of Javascript (I'm speculating on this point). Javascript could not use Self syntax, of course, due to the management requirement for a C-like syntax, hence the need to innovate and create a hybrid language.
Nick Smith
01/25/2020, 12:12 AMNick Main
01/25/2020, 12:14 AMIvan Reese
Joshua Horowitz
01/29/2020, 2:21 AM