PDA

View Full Version : JavaScript anyone?



MadMan2k
December 27th, 2006, 08:06 PM
I recently discovered that you can use spidermonkey(mozillas JS implementation in C) to write shell scripts.

Now Im wondering why JS gains so less attention.
it is basically as easy as python/ perl but has a cleaner concept of "everything is an object".
And additionaly the nice prototype based(classless) inheritance.
http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Guide:Class-Based_vs._Prototype-Based_Languages

what do you think?

Steveire
December 28th, 2006, 12:10 AM
I believe applets written in plasma in kde4 will use javascript. Maybe more people will realise the potential then.