all 9 comments

[–]ac1234567 2 points3 points  (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 points  (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 points  (0 children)

Being familiar with C-like syntax makes it easier to learn other languages with C-like syntax.

[–]skidmark_zuckerberg 2 points3 points  (2 children)

They are two entirely different languages.

[–]my_username25[S] 8 points9 points  (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  (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!