-------------------------------------------------------------------------------
I think what he was trying to say was that there is a difference between
Java and Javascript.
Here is a breakdown of the differences (from:
http://home.netscape.com/eng/mozilla/Gold/handbook/javascript/index.html)
JavaScript and Java
The JavaScript language resembles Java, but without Java's static typing
and strong type checking. JavaScript supports most of Java's expression
syntax and basic control flow constructs. In contrast to Java's
compile-time system of classes built by declarations, JavaScript supports a
run-time system based on a small number of data types representing numeric,
Boolean, and string values. JavaScript has a simple instance-based object
model that still provides significant capabilities.
JavaScript also supports functions, again without any special declarative
requirements. Functions can be properties of objects, executing as loosely
typed methods.
JavaScript complements Java by exposing useful properties of Java applets
to script authors. JavaScript statements can get and set exposed properties
to query the state or alter the performance of an applet or plug-in.
Java is an extension language designed, in particular, for fast execution
and type safety. Type safety is reflected by being unable to cast a Java
int into an object reference or to get at private memory by corrupting Java
bytecodes.
Java programs consist exclusively of classes and their methods. Java's
requirements for declaring classes, writing methods, and ensuring type
safety make programming more complex than JavaScript authoring. Java's
inheritance
and strong typing also tend to require tightly coupled object hierarchies.
In contrast, JavaScript descends in spirit from a line of smaller,
dynamically typed languages like HyperTalk and dBASE. These scripting
languages offer programming tools to a much wider audience because of their
easier syntax, specialized built-in functionality, and minimal requirements
for object creation.
>And BTW, what did you mean when you said:
>>
>>
>> BTW, there is QUITE a difference between JAVA scripts, and
>> the JavaScript scripts which you will find at the
>> htmlgoodies site ;-)
>>
>
>What is the difference?
>
>
>>
>> Warner Winborne
>> University Honors Program
>> wwinborne@niu.edu
>>
>*********************************************************************
>* *
>* C. Eric Hoffman NWR@niu.edu *
>* *
>* Coordinator, Networked Writing and Research *
>* *
>* "It all comes back to discursive terrorism, doesn't it?" *
>* *
>*********************************************************************
>
>
>