r/learnjava • • Jul 17 '20

Can Anyone Do Java?

I'm a college student who previously did Javascript and is now doing Java.

I'm finding Java horrifically hard. I thought that since I had a background in javacscript, I would have a easier time picking it up but I'm not.

Why? Why am I having a breakdown over it? Is it because javascript is more artsy and java is more mathy? I am an artsy person (not a math person) so that's why I'm asking.

What advice do you have for someone who is learning it? IT FEELS LIKE A COMPLETELY DIFFERENT SUBJECT FROM JAVASCRIPT! I'm starting to wonder if I'm just not built for it.

So my question is, is it meant for everyone? Can everyone do it?

62 Upvotes

65 comments sorted by

View all comments

14

u/potatopotaatopututu Jul 17 '20

From JavaScript (scripty, somewhat functional) to Java (strictly object oriented with static type checking) is a total paradigm shift. It'll take a while. Just hang in there.

1

u/TacticalWalther Jul 18 '20

Do you think its a good idea for someone to simultaneously do both languages? Or will that confuse them?

2

u/potatopotaatopututu Jul 18 '20

I would not suggest anyone to learn two languages at once. Not that it's hard or anything, once you're finished with both you're most likely to pick one of them (the one you liked more) and stick with it for a while. Returning to the other language will take some brush up anyway. Furthermore, yes, for beginners it can be confusing to learn two languages simultaneously. In my opinion, the best time to learn new languages is when you've successfully completed a couple of projects in your current language and feel ready to start learning a new one.

2

u/PhatClowns Jul 21 '20

I wouldn't recommend learning both at the same time; I always advocate for learning one language at a time, and only move to the next one once you have a strong grasp of that language.

I use both, but I had a solid Java background (about 3-ish years) before I even started with JavaScript. I hit the same wall you did but in reverse. Still worth it, having a diverse programming skillset is incredibly valuable.

As others have said, hang in there. What you're experiencing is just culture shock, the pieces will start coming together.