+ 2

Explaining Javascript is not Java

What is a good strategy for explaining to a person who does not know the difference between Javascript and Java? For newbies, I don't want to over-explain and confuse them. For both newbies and others starting to learn coding, I don't want to just say "it isn't the same thing" as some may ask more questions I'm not prepared for. EDIT: Do I mention about NodeJS, etc. or do I leave that until they would ask (or are more knowledgeable about Javascript?) EDIT 2: I'll wait for some answers before picking.

2nd May 2017, 3:18 PM
Katie (Ctrl-Alt-Cuteness)
Katie (Ctrl-Alt-Cuteness) - avatar
3 Antworten
+ 2
The simplest answer is JavaScript is for your web browser and Java is a cross-platform language. Check out https://www.java.com/en/download/faq/java_javascript.xml I would save NodeJS for someone who has worked with JS. However, I would mention that JS can be used in back and front end development.
2nd May 2017, 3:24 PM
Christian Bradley
Christian Bradley - avatar
+ 2
java is to JavaScript like car to carpet. ;)
2nd May 2017, 3:28 PM
Thanh Le
Thanh Le - avatar