Hi! Interesting point about ECMA. Isn't that language that introduced classes on 18th year of language existence (1997-2015)? I remember people were complaining on JavaScript not having classes around 2005.
classes are a relative term when everything in the language is a function object. What we did back in the early days of JS is that we created a new object called clazz, then instantiated it. This is how we performed lambda and other fancy design patterns like IoC. some assembly requires ;) At that time i preferred hypertalk to be honest. it was much better for making cool things on the mac. at the time linux and windows were not very graphical other then a handful of dos games. Where in mac you had hypercards. yea that stuff was awesome.
Log in to continue
We're a place where coders share, stay up-to-date and grow their careers.
Hi! Interesting point about ECMA. Isn't that language that introduced classes on 18th year of language existence (1997-2015)? I remember people were complaining on JavaScript not having classes around 2005.
classes are a relative term when everything in the language is a function object. What we did back in the early days of JS is that we created a new object called clazz, then instantiated it. This is how we performed lambda and other fancy design patterns like IoC. some assembly requires ;) At that time i preferred hypertalk to be honest. it was much better for making cool things on the mac. at the time linux and windows were not very graphical other then a handful of dos games. Where in mac you had hypercards. yea that stuff was awesome.