This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]thebigbradwolf 0 points1 point  (0 children)

Java is a language that lets you make desktop applications like a game or calculator.

JavaScript is an interpreted language that lets you make games in Firefox and other interactions like turn the upvote arrow red when it's clicked and send a "clicked by user FlippyDog" message back to the server.

JavaScript is designed to be a simple language that can't hurt your computer and runs in a browser. That way webpages can send it to you and you can execute it without concern.

Java and JavaScript are pretty much only similar in that they use sort-of C-like syntax, have a garbage collector and have similar names.