I'm completely surprised at how many people believe this. I worked at a helpdesk of 30+ people and half of them believed the first step to troubleshooting javascript issues was to install the latest version of java.
Java used to be used for the interactive elements on web pages. They may just be so old that they have forgotten applets aren't a thing anymore. Man, I feel old now.
A Java applet was a small application that is written in the Java programming language, or another programming language that compiles to Java bytecode, and delivered to users in the form of Java bytecode. The user launched the Java applet from a web page, and the applet was then executed within a Java virtual machine (JVM) in a process separate from the web browser itself. A Java applet could appear in a frame of the web page, a new application window, Sun's AppletViewer, or a stand-alone tool for testing applets.
Java applets were introduced in the first version of the Java language, which was released in 1995.
http://neopets4ever.geocities.com/~supergirl13/cgi-bin/applet_loader.php3
<HTML><BODY><marquee><blink><i>WELCOME TO MY PAGE</i></blink></marquee>
Page under construction</BODY></HTML>
The original intent in naming JavaScript after Java was that JavaScript was meant for lightweight interaction in in the same domain as Java, which at the time was being targeted heavily at the browser with Applets and the suchlike.
Learning that Java != JavaScript is one of the first things people generally learn when having even the slightest of interest in programming. What interests me is that someone who has seemingly written a book on programming does not know this. Maybe it is a joke.
I'm a VB programmer but not really by choice. I signed up for C# work but I ended up supporting the old systems that are 10 - 20 years old and many were originally written in VB6. It's not that bad, really.
Its prototype based object model facilitates object oriented programming nonetheless. Object oriented programming is not synonymous with class-based object oriented programming.
I know JavaScript has nothing to do with Java. I once read the only reason why it's named so, is because it was build to replaced the usage of Java in Webbrowsers. Can anyone confirm this?
The name gives the impression that it relates to Java somehow but it was just clever marketing to piggyback off the success of Java itself. Like everyone who goes on StackOverflow knows, JavaScript is similar to Java in the same way that Car is similar to Carpet.
At this point the history behind the name appears to be just speculation. If you look at the release dates, the first public implementation of Java 1.0 was released in 1996, and the wiki page says it first appeared in May, 1995. Javascript on the other hand was released in December, 1995. So I highly doubt that the reason behind the name was to replace Java. I don't think Java was supported in browsers immediately as well, but I might be wrong, given that Java is literally older than me.
Sadly no, it was a licensing deal between Sun and Netscape to rename Netscape's project to Javascript. The renaming made the two languages seem like they were related to each other. The hope was for Java engineers to adopt Javascript because of the name. Reality is, most Java engineers hate Javascript and most developers that like Javascript hate OOP languages in general.
When I got my dev job 5 years ago, I had to explain several times to my boss that the two were different languages. It was astonishing that in her 15 years of being in tech, she didn't know the difference and she was now a manager for web development.
"By Dummies, For Smarties" could be their catchphrase and theme. It could be made to look like their goal is to make everyone else as stupid as they are.
280
u/[deleted] Nov 17 '18
I'm completely surprised at how many people believe this. I worked at a helpdesk of 30+ people and half of them believed the first step to troubleshooting javascript issues was to install the latest version of java.
161
u/zesterer Nov 17 '18
THIS IS WHY JAVA RUNS ON MORE THAN 3 BILLION DEVICES
65
u/[deleted] Nov 17 '18
And I’m not sure what that has to do with application sandboxing or... *squints* Visual Basic 2010?!
27
u/Talbooth Nov 17 '18
And a printer somewhere had to endure printing this. Poor device.
22
u/[deleted] Nov 17 '18
I know JavaScript has nothing to do with Java. I once read the only reason why it's named so, is because it was build to replaced the usage of Java in Webbrowsers. Can anyone confirm this?
6
u/jarfil Nov 17 '18 edited Dec 02 '23
CENSORED
11
u/Notsileous Nov 17 '18
Java is to Javascript as apple is to house plant
10
u/0xMatt Nov 17 '18
Nice try, Oracle....
7
u/[deleted] Nov 17 '18
3
u/[deleted] Nov 17 '18
Excuse me. What year is it
3
u/masterofbeast Nov 17 '18
When I got my dev job 5 years ago, I had to explain several times to my boss that the two were different languages. It was astonishing that in her 15 years of being in tech, she didn't know the difference and she was now a manager for web development.
3
u/incomingstick Nov 18 '18
Lol look at that definition sourxe link. Wikipedia would have done ya better there friend xD
2
u/Who_GNU Nov 17 '18
Do they make wine from grapefruit juice?
1
u/xignaceh Nov 17 '18
What textbook takes all it's defenitions of the internet? The source reference is even unbearable...
1
u/ConsistentCriticism5 Nov 18 '18
Actually this text means your browser should be enable with JavaScript
1
u/BortTheStampede Nov 18 '18
Java is like Javascript in the same way car is like carpet.
1
u/theemptyqueue Nov 28 '18
My web-programming teacher never called JavaScript object oriented, instead he said that it contains object types.
1
u/[deleted] Jan 15 '19
r/facepalm
0
u/[deleted] Nov 17 '18
[deleted] — view deleted comment
0
u/[deleted] Nov 18 '18
[deleted] — view deleted comment