Re: Applet Question
On 11/7/2011 5:50 AM, Roedy Green wrote:
On Sun, 06 Nov 2011 14:34:18 -0600, "Nasser M. Abbasi"<nma@12000.org>
wrote, quoted or indirectly quoted someone who said :
Anything close to the above using Javascript?
I am baffled by the appeal of JavaScript.
Maybe you know too little about JavaScript.
I find it being used on the web to write code that works with only
one browser.
Most JavaScript developers are capable of writing JavaScript that
works in multiple browsers.
I believe it has no sandbox, so it is beloved of websites that want to
install Trojans.
It has a security model preventing it from accessing PC disk.
It is passed around in fluffy text form.
It would not make much difference to compile it to byte code.
It is not OO.
It is object oriented (but also uses other paradigms especially
prototype based).
Read up on how you write extensions to browsers, email programs, IDEs
and the like. Instead of using some sane language like Java, they
either concoct some ad hoc monstrosity, or use JavaScript. What are
they thinking?
JavaScript is one of the most widely used languages.
Almost all web pages today uses JavaScript. It is starting to be
used in smartphone apps (phonegap etc.). It will be used in
desktop apps (MS Metro and JavaFX). It is even used a little
bit server side (node.js).
A language that can be used for many different things with a
huge number of available programmers. That is very attractive.
Actually I don't "like" JavaScript either, but "like" means
nothing.
Arne