English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Java and Javascript are totally different languages, yet people still think that they are the same. I don't understand why they think that.

2007-07-13 07:18:29 · 4 answers · asked by Anonymous in Computers & Internet Programming & Design

4 answers

People who don't drink tea don't know herbal from earl grey.

People are generally ignorant of areas where they haven't had to learn anything!

JavaScript vs JScript, the existence of server side JavaScript, the ECMAScript standard,... the list goes on!

Many people here are script kiddies or script illiterates! I find it funny all the people who recommend re-installing Java for an IE JavaScript problem....

That's why we get the big points... and others are running around with 2% best answers!

2007-07-13 07:32:18 · answer #1 · answered by Anonymous · 6 2

yes they are different. The syntax is similar. When Netscape was creating javascript, they wanted something common, and Java was the most common OOP language around. Interesting enough, the creators of Javascript called Sun Microsystems, and asked if they could use Java in the title of the language. Sun was busy at the time with legal issue, and inadvertently said yes. Reportedly, they wish they could take it back. So to answer the question "Why do people think that Java and Javascript are the same?", because Netscape was floating on the success of Java in order to popularize javascript. And it worked very, very well.

http://javascript.about.com/od/reference/a/history.htm

P.S.
JScript, as mentioned above, is Microsoft attempt to rip of Sun's Java not Netscape's javascript .

2007-07-13 07:47:37 · answer #2 · answered by WebDev 3 · 3 0

they are not "totally" different. javascript is a sub-set of the java language. excluding specific functions like file IO, memory management, strong typing, etc.

i agree they are not the same, but many people (especially beginning web developers who use a lot of javascript,) simply don't know they are different.

don't lament over it, you can't change the world.
nice hair, btw.

2007-07-13 07:32:07 · answer #3 · answered by Wyatt 4 · 2 6

Why do people think that flammable and inflammable are the same?

2007-07-13 07:44:30 · answer #4 · answered by fjpoblam 7 · 0 4

fedest.com, questions and answers