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

-3

u/mods_are_arseholes Jul 17 '20 edited Jul 17 '20

Yes. Its object orientated nature makes it seem hard at the beginning. But for general use you dont need to nor ever will fully use javas object orientated features. The language around java is largely academic. Words like encapsulation, inheritance, polymorphism can easily throw people off. But you dont need to know much of it right away on day one. Even functions have a different name, there called methods in java. It makes no difference at the end of the day, you just have to chip away at it.

if i can do it anyone can do it. As with everything, practice makes perfect. Its now my language of choice. As a linux user i love the open source nature of it and the platform independence of it. And the Java API has everything you will ever need included by default.

1

u/PapaPancake8 Jul 17 '20

Is Linux a java based OS? For years I’ve heard of the advantages of using Linux (except no rocket league..), and now that I’m coding I can’t imagine the possibilities compared to other operating systems.

2

u/nioh2_noob Jul 17 '20

No, linux is a unix clone (not unix compliant) written in C

1

u/mods_are_arseholes Jul 17 '20

no, its just the kernel and its written in C. If you have used android or the internet, then your using Linux already.

1

u/PapaPancake8 Jul 17 '20

Okay, I definitely have no clue about Linux nor do I want to find out currently. Thanks for the quick feedback

1

u/mods_are_arseholes Jul 17 '20

also rocket league works under linux with proton on steam.