In 30 years, JavaScript went from being a little scripting language to one of the world's most popular. Here are key moments to show how it has evolved and where it is headed.
Netscape asked Brendan Eich to develop a scripting language that looks like Java, but be object oriented rather than class based.
I don’t understand this part. Isn’t object oriented also class based?? I mean that’s the entire reason why classes exist, to create objects. Isn’t it? How is this separated here?
I don’t understand this part. Isn’t object oriented also class based?? I mean that’s the entire reason why classes exist, to create objects. Isn’t it? How is this separated here?
To my understanding, the original meaning of object oriented is more similar to what we call the actor model today.
In reference to the modern understanding of OO, js uses prototypal inheritance, which some consider closer to the original vision.
Object oriented languages can be either class based or prototype based. Java is class based, JS was back then prototype based
Thanks, I see. I’ll research and learn more about the differences. Thought this was an writing error and didn’t research yet.
The first fully-developed prototype-based OO language was Self, original Javascript seems quite similar.