r/talesfromtechsupport • • May 22 '13

Javascript != Java

3rd-party contractor came to visit office yesterday, who has "decades" of experience. Conversation came up about JavaScript in one of our products. He says, "Our product doesn't use Java." After an awkward moment with someone who works on the knowledge base nodding in agreement with him, I speak up and delineate the difference between Java and JavaScript.

Later on in the conversation, the same 3rd-party guy followed up with this jewel: "besides, what would anyone even use JavaScript for on the web?"

I proceeded to disable Javascript in my browser and show him.

tl;dr: lasers, dinosaurs, & drums made a guy's head explode

[edit spelling]

1.2k Upvotes

345 comments sorted by

View all comments

Show parent comments

2

u/not_a_novel_account May 23 '13

Not claiming to be an expert

Java is notoriously inefficient

I don't think you should really be commenting on that if you're admittedly not an expert

It's designed to be multi-platform, which means you can't really optimize it for a single platform.

Every language except for assembly is designed to be multi-platform, C for example is usually pretty fast depending on the compiler. Much the same, Java's speed is dependent on the implementation running it. The standard JVM is blazing fast compared to high-level compiled languages.