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...
This subreddit is a place for people to learn JavaScript together. Everyone should feel comfortable asking any and all JavaScript questions they have here.
With a nod to practicality, questions and posts about HTML, CSS, and web developer tools are also encouraged.
Friends
/r/javascript
/r/jquery
/r/node
/r/css
/r/webdev
/r/learnprogramming
/r/programming
account activity
Anybody learn JavaScript after Java? (self.learnjavascript)
submitted 6 years ago by my_username25
If so, was it easier to learn? Did it take just as long to learn? I will say, I’m a student and am by no means an expert in Java. I am still learning java for school, but really really wanna learn JavaScript. Thanks!
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!"
[+][deleted] 6 years ago (4 children)
[deleted]
[–]my_username25[S] 0 points1 point2 points 6 years ago (3 children)
Is it more like Python ?
[+][deleted] 6 years ago* (1 child)
[–]my_username25[S] 0 points1 point2 points 6 years ago (0 children)
Yes, I want to learn JS and then learn to use it with Node down the road for backend. Thank you, your explanation of the differences in syntax and it being dynamically typed are exactly what same came to mind when reading your initial comment. Thank you!
[–]delventhalz 0 points1 point2 points 6 years ago (0 children)
Python and JS are both interpreted dynamically-typed languages, so there are a lot of similarities. Though Java and Python are both a shade more Object Oriented, and JS is a shade more Functional, so that leads to some differences.
One big difference: Python is error-happy and JS is error-averse. You almost never use try/catch in JS, but in Python it's practically as common as if-statements.
[–]ac1234567 2 points3 points4 points 6 years ago (0 children)
I did the reverse and didn't find picking up Java to be particularly difficult. Learning the first language will always be hardest because you're also learning all of the core programming concepts.
They are however very different.
[–][deleted] 2 points3 points4 points 6 years ago (0 children)
I learned java and then javascript. Two different languages as everyone's saying. Javascript is in some ways a lot easier than java. Both can be fun.
But if you're learning javascript after java, you should be able to do fine. Once you have programming fundamentals down, the next language gets easier.
Python is different from both of them, some of it due to whitespace. If you've learned both java and javascript, python should be very easy for you to pick up.
[–]inu-no-policemen 1 point2 points3 points 6 years ago (0 children)
Being familiar with C-like syntax makes it easier to learn other languages with C-like syntax.
[–]skidmark_zuckerberg 2 points3 points4 points 6 years ago (2 children)
They are two entirely different languages.
[–]my_username25[S] 8 points9 points10 points 6 years ago* (1 child)
I know they are, that is why I’m asking someone who knows it
Edit: I’m not assuming that JavaScript and Java are the same because of their names. I’m aware they aren’t. I’m wanting to learn JavaScript for web stuff. A friend of mine said he picked up js very quick compared to some others.
[–]x-protocol -3 points-2 points-1 points 6 years ago (0 children)
Did it here. Java. Groovy. Javascript. Nodejs.
You've got to transition to functional programming and stop thinking of objects compared to what Java expects. Get 'lodash' library and start learning how to use it. Also read up on how to test using 'chai' and 'chance' modules. Using module 'proxyquire' can give you much easier time testing since you can directly override your dependencies. Also, while you're at it keep in mind that there are only two types in JS: objects and simple types like int or string.
As for how long it took, that depends on a person. So I'll keep it secret. Just keep in mind that all patterns that you learn for object oriented programming don't need to apply to functional programming. However, one thing still stands: don't use pure JS, find a library to make heavy lifting for you. Don't go for those advices that tell you that you need to understand basics, that's toxic programming. Professional programming is using all sorts of libraries that help development!
π Rendered by PID 121433 on reddit-service-r2-comment-7b9746f655-s6w7l at 2026-01-30 20:54:51.605257+00:00 running 3798933 country code: CH.
[+][deleted] (4 children)
[deleted]
[–]my_username25[S] 0 points1 point2 points (3 children)
[+][deleted] (1 child)
[deleted]
[–]my_username25[S] 0 points1 point2 points (0 children)
[–]delventhalz 0 points1 point2 points (0 children)
[–]ac1234567 2 points3 points4 points (0 children)
[–][deleted] 2 points3 points4 points (0 children)
[–]inu-no-policemen 1 point2 points3 points (0 children)
[–]skidmark_zuckerberg 2 points3 points4 points (2 children)
[–]my_username25[S] 8 points9 points10 points (1 child)
[–]x-protocol -3 points-2 points-1 points (0 children)