0
Why isn't java like java script in some ways?
it would be much more easier than learning seperately
4 Answers
+ 7
Kind of like asking why antelope isn't a fruit like cantelope. The names are unrelated. However, there are still a lot of common things between the two.
+ 4
Its like you are comparing car with carpet.
0
I enjoy this question because it's another opportunity for me to reread the Wikipedia page on JavaScript.
"In 1995, Netscape Communications recruited Brendan Eich with the goal of embedding the Scheme programming language into its Netscape Navigator.[11]Before he could get started, Netscape Communications collaborated with Sun Microsystems to include in Netscape Navigator Sun's more static programming language Java, in order to compete with Microsoft for user adoption of Web technologies and platforms.[12] Netscape Communications then decided that the scripting language they wanted to create would complement Java and should have a similar syntax, which excluded adopting other languages such as Perl, Python, TCL, or Scheme. To defend the idea of JavaScript against competing proposals, the company needed a prototype. Eich wrote one in 10 days, in May 1995."
[continued in next post...]
0
[...continued from previous post]
"Although it was developed under the name Mocha, the language was officially called LiveScript when it first shipped in beta releases of Netscape Navigator 2.0 in September 1995, but it was renamed JavaScript[2] when it was deployed in the Netscape Navigator 2.0 beta 3 in December.[13] The final choice of name caused confusion, giving the impression that the language was a spin-off of the Java programming language, and the choice has been characterized[14] as a marketing ploy by Netscape to give JavaScript the cachet of what was then the hot new Web programming language."