< Day Day Up > |
Java or JavaScript? And, what's the difference? Java is a programming language developed and controlled by Sun Microsystems. It is proprietary, licensed, and readily available on a number of platforms. JavaScript was developed by Netscape as a scripting language for its browsers. The difference between Java and JavaScript is roughly the same as the difference between C/C++ and Java (or C/C++ and JavaScript). There are similar syntax requirements, and some of the names are the same (or sufficiently similar that it is easy to figure out what's what). For many years, C and C++ have been the programming languages of choice for many applications and systems. Unix, Linux, and Windows contain extensive C and C++ code. Even Firefox has thousands of C and C++ source files. JavaScript ReferenceI'm including a simple JavaScript reference here. For a more complete reference, try http://wp.netscape.com/eng/mozilla/3.0/handbook/javascript/, which contains tutorial and reference sections. JavaScript supports operations (assignments, math, and so on), conditionals (if, loop, and so forth), objects, and functions. JavaScript statements are
|
< Day Day Up > |