Wely

The Promise, The Limits, The Beauty of Software
See also: Other Geeks@INDC

Is Javascript an OO Language?

 

Regarding to previous discussion in the dotnet mailing list about "Is Javascript an OO language?", I decided to post my opinion about that. That discussion was really interesting.

 

Some of the "Javascript Die-Hard geeks" defended so hard about their Javascript is an OO language. They said that Javascript could achieve any OO criterias, so it should be consider as an OO language.

 

Some of them contended that "Javascript is not an OO". They said that maybe JS could achieve OO behaviour, but via hack. It don't have any OO nature, it just have the ability to deceive the OO.

 

A good analogy from Mr Norman about "Bird and Bat" was really interesting. It stated that common OO languages (C++, Java, C#, etc) are bird and Javascript is bat. Haha..

 

For me, it is better to define "OO Programming language criteria", in other words "What criteria should a programming language to have, in order to reach as OO language" first. About the criteria, a version from A could be different from another version from B. That causes the never-ending debat Smile (just like recent debating in our local community).  Maybe some international standarization (maybe like ECMA, W3C, etc) have to stand up andwell define it.

 

After that is well-defined, next we just determine that if Javascript (or maybe others langauge) as OO.

Share this post: | | | |
Posted: May 22 2007, 09:02 AM by Wely | with no comments
Filed under: ,

Comments

No Comments