Path: csiph.com!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Martin Gregorie Newsgroups: comp.lang.java.programmer Subject: Re: questions re Javascript Date: Tue, 1 Sep 2015 23:26:45 +0000 (UTC) Organization: A noiseless patient Spider Lines: 44 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Tue, 1 Sep 2015 23:26:45 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="e5160e2be48f1ea550cf61512446f525"; logging-data="8230"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19er/6OWgrquBMB+jTY7dan6Dg6ZAwfOcs=" User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2) Cancel-Lock: sha1:MD1WvlyfmcbrsPb+taumjmEsuIw= Xref: csiph.com comp.lang.java.programmer:32456 On Tue, 01 Sep 2015 15:26:38 -0700, rdelaney2001 wrote: > I'm trying to get a handle in what Javascript is, isn't, > what it does.... > > Is it a language, or a set of library routines? If the latter, how are > they accessed? > Its a language, originally developed by Netscape to allow input validation, etc, to be carried out locally on the HTML browser. > Is it used, or useful, for anything besides hovering the cursor over an > image on a Web page? > Yes. Very many web pages are infested with it. > What is its relation to Java, as a plug-in? Are they independent? Does > Javascript execute/reside 'inside' Java, so to speak? > No relation whatsoever. Java is a strongly typed, compiled OO language that was designed to be executed in a portable virtual machine. It can be run in a sandbox on a client system. Javascript is an untyped, interpreted scripting language. The interpreter is usually a component of the web browser. Javascript is often executed without being sandboxed. > What are the limitations of the language, in terms of hardware, memory > access, security, etc.? > Pass. I looked at it many years ago, couldn't find a decently written book about it (I was looking for the equivalent of K&R's "The C Programming Language"), decided I didn't like the language anyway and haven't looked at it since. There are others on c.l.j.p. who may be able to describe its limitations, but you should really be asking about javascript on a javascript newsgroup. This a Java one. -- martin@ | Martin Gregorie gregorie. | Essex, UK org |