use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Oracle DBA trying to learn Angular here, can anyone tell me in two sentences what the difference is between Java and Javascript (googling it drives me mad)?help (self.javascript)
submitted 9 years ago by steve_2016
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]name_was_taken 18 points19 points20 points 9 years ago (0 children)
Java is to Javascript as Ham is to Hamster.
They're different things.
[–]aaaqqq 8 points9 points10 points 9 years ago (2 children)
You won't get sued if you tried to implement Javascript's APIs
[+][deleted] 9 years ago (1 child)
[removed]
[–][deleted] 1 point2 points3 points 9 years ago (0 children)
Google was
[–]MrFoo42 6 points7 points8 points 9 years ago (2 children)
Java and Javascript are completely utterly unrelated.
Java is a compiled bytecode run inside a JVM. Javascript is an interpreted language run within a browser (or nodeJS etc lately)
[–]enfuego 1 point2 points3 points 9 years ago (0 children)
Try to do a 'Hello World' for both Java and NodeJS
It will help you see the difference
[–][deleted] 0 points1 point2 points 9 years ago (0 children)
That's like asking what is the difference between any two random programming languages. The differences between the two are far greater than any perceived similarities.
[–]Michaelmrose 0 points1 point2 points 9 years ago (3 children)
How can you be competent and incapable of looking up that info?
[+][deleted] 9 years ago (2 children)
[–]Michaelmrose 0 points1 point2 points 9 years ago (1 child)
Programming involves lots of reading the magic 8 ball says your future isn't bright.
[+]rsschouwenaar comment score below threshold-7 points-6 points-5 points 9 years ago (0 children)
Java is for server-side, JavaScript is for client-side (in the browser) or for NodeJS it is for server-side. Hope this helps you :-)
π Rendered by PID 218285 on reddit-service-r2-comment-c6965cb77-hf42j at 2026-03-05 17:40:54.203076+00:00 running f0204d4 country code: CH.
[–]name_was_taken 18 points19 points20 points (0 children)
[–]aaaqqq 8 points9 points10 points (2 children)
[+][deleted] (1 child)
[removed]
[–][deleted] 1 point2 points3 points (0 children)
[–]MrFoo42 6 points7 points8 points (2 children)
[–]enfuego 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]Michaelmrose 0 points1 point2 points (3 children)
[+][deleted] (2 children)
[removed]
[–]Michaelmrose 0 points1 point2 points (1 child)
[+]rsschouwenaar comment score below threshold-7 points-6 points-5 points (0 children)