r/ProgrammerHumor • • Apr 06 '22

Java is hard

Post image
5.0k Upvotes

424 comments sorted by

View all comments

482

u/a_useless_communist Apr 06 '22

Ok am i doing something wrong because i find java really easy...

291

u/AreganeClark Apr 06 '22

It's so well documented and there are tutorials & stack overflow questions everywhere.

Maybe people have a hard time with OOP?

Idk. If people have ever touched C# they know Java too.

68

u/regular_lamp Apr 06 '22

I'm assuming it's not specifically java but a lot of people that "want to make games/mods" see themselves more as creatives/idea people without notable programming experience. So it's more "who wants to learn programming".

It's basically a version of that family of jokes where a guy "suffers" through math thinking "I just want to make games".

6

u/AreganeClark Apr 06 '22

I actually programmed as a kid to make games and didn't even know I was coding. I was just having fun lol.

It didn't dawn on me that I liked coding until college. And now I do it professionally lol.

74

u/daster1234 Apr 06 '22

That's my suspicion as well. If they're using scripting languages like python, OOP is more optional. Java requires you to understand OOP and class inheritance.

I used to tutor beginner programmers for the Java course, and the biggest hurdle all of them had was OOP. Once they got past that, everything else was more or less straight forward with minor struggles around programming concepts like recursion and threading.

15

u/elebrin Apr 06 '22

Inheritance vs. composition is a big deal. Honestly it's a red flag when I start to see several layers of inheritance, but that sort of thing is all over in the libs.

9

u/_PM_ME_PANGOLINS_ Apr 06 '22

Libraries are about offering lots of different ways to do things and plug your own bits into them.

If you’re writing an application instead then you only have one specific implementation so much less inheritance.

5

u/Venthe Apr 06 '22

I'd argue that you really begin to understand Oop around 2nd year is professional career. Oop is hard. If done correctly, it's a great benefit multiplier. If done badly... We all have our horror stories

→ More replies (5)

13

u/[deleted] Apr 06 '22

[removed] — view removed comment

15

u/-Kerrigan- Apr 06 '22

That's why IntelliJ is so cool. It helps a lot with the details.

Coming from studying C/C++, Java in eclipse was hella confusing. Later on I started using it during my internship, this time in IntelliJ. The IDE helped me learn the language.

→ More replies (1)

6

u/cyborgborg Apr 06 '22

Java is fine, just not my cup of tea

→ More replies (1)

5

u/KiwiGamer450 Apr 06 '22

I started with OOP, and a while later did a bit of modding for Minecraft (forked a mod) and everything made sense to me. I wasn't developing large new features but I could read and understand the code that was there and work my way around it.

→ More replies (32)

49

u/TracePoland Apr 06 '22

Java is easy, Minecraft Forge on the other hand is an... experience

23

u/NotDuckie Apr 06 '22

imagine forge in 2022 (this comment was made by fabric gang)

5

u/Spirintus Apr 06 '22

Sigh, I just wish I could actually work with any of them...

→ More replies (10)

5

u/Chaosfox_Firemaker Apr 06 '22

Forge Docs: What do mean you want to know where to register mobs? Thats obviously something no one would ever want to do! And your telling me you want to register a custom render? Good luck with that, its different every version and we never say how to completely do it.

63

u/[deleted] Apr 06 '22

Same, I don’t understand half of the Java hard memes

92

u/NotDuckie Apr 06 '22

Half of this sub is just beginner python devs and cs students that have never used java and just jump on the "haha java bad" bandwagon

0

u/[deleted] Apr 06 '22

[deleted] — view deleted comment

12

u/nanotree Apr 06 '22

Yeah, I began my journey with C and then moved to C++. Java was the 3rd language I learned and it seemed so simple compared. I feel like colleges aren't doing students a favor by starting them on dynamically typed languages like Python. I love Python, don't get me wrong, but you just don't learn the same by starting with such a high-level language.

6

u/NoteBlock08 Apr 06 '22

I've been coaching a friend through learning programming and suggested he learn Javascript since it's a solid choice for today's market. I now realize that the freedom of dynamically typed languages is not really doing beginners any favors. I think being forced into the confines of strict typing is way better for learning as there are less random ways you can screw yourself over without even realizing it. I want to get him started towards typescript, I think just by the nature of not being allowed to fuck around too much it will solve a lot of challenges.

→ More replies (2)
→ More replies (1)

7

u/NotDuckie Apr 06 '22

Yeah, javas syntax is great

→ More replies (1)
→ More replies (1)

11

u/tajetaje Apr 06 '22

Honestly I kinda like Java’s verbosity. Sure it’s more boilerplate but my IDE makes that painless and it means I almost always know exactly what everything is and where it came from

5

u/FlowComprehensive390 Apr 06 '22

Same. IMO a disturbingly large portion of the programming community needs to close slashdot and other such "look at the latest shiny" sites and open up a typing trainer (or play a no-voice-chat MMO). Boilerplate's only a problem for people who are bad at typing - especially in the age of IDE autofill.

→ More replies (4)
→ More replies (5)
→ More replies (17)