Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

javascript 2.0 specs

Tags:

javascript

I'm spending a lot of time to learn how OOP is implemented in Javascript as in ECMA 262 of 1999: now I want to know if someone think that the new JS 2.0 will arrive soon and I am studying uselessly because with this new version will be the OOP implemented in a classical way (Java etc.) and will be interfaces, generics and other classical languages features...

So do I must stop and wait?

like image 941
xdevel2000 Avatar asked Jul 17 '26 00:07

xdevel2000


2 Answers

Javascript is a dynamically typed script language that uses prototype based inheritance.

It is exactly these attributes that differentiate it from Java, C# and make it so applicable for web development in particular. Why would anyone want or need to turn it into another Java or C#, they already do that job quite well.

So no, learning Javascript now is very worthwhile. Learning Javascript more deeply has actually helped me to better understand dynamic languages in general (coming from C#,C++) and even has some Functional aspects to get to grips with.

like image 143
Ash Avatar answered Jul 18 '26 12:07

Ash


JavaScript 2 is dead. There'll be ECMAScript 3.1, which will feature mostly clarifications, security enhancements and library updates, and ECMAScript Harmony, the replacement for ECMAScript 4 (aka JavaScript 2). A lot of the things planned for ES4 are no longer under discussion for Harmony, though.

like image 23
Christoph Avatar answered Jul 18 '26 14:07

Christoph