You are viewing a single thread.
View all comments View context
36 points

Obviously OpenJDK is superior to dealing with Oracle’s bull. But even more superior (IMO) is simply not using Java. My life has been noticeably more pleasant since I started refusing to touch Java.

permalink
report
parent
reply
22 points

No offense but I have never seen a good developer complain about java.

permalink
report
parent
reply
30 points

Java has a lot of advantages, but that’s a crazy statement. I feel like literally everyone complains about basic stuff like public static void main, over reliance on factories and OOP, and just how much code you need to generate for some basic stuff. I’m not a Java hater, but I am glad I don’t have to use it anymore.

permalink
report
parent
reply
-1 points

What’s the issue with public static main?

And whats the issue with factories? Factories are a design pattern thats not specific to Java, I’d recommend you read the design patterns book and understand why they exist. I also have 0 factory useage stuck in my mind and I have been developing with java since 2016.

OOP? It’s an OO language ffs, that’s like complaining that C isn’t OO. If you don’t want to use an OO language don’t use one.

how much code you need to generate for some basic stuff

Do you mean verbosity because thats only a complaint for people who dont need to maintain stuff long term. Or maybe you misused java for doing something simple where python would have sufficed.

And then there is the springboot framework that makes shit trivial

permalink
report
parent
reply
8 points

you clearly don’t know many good developers

permalink
report
parent
reply
7 points
*

People complain about Java being weird all the time. The reason people complain about it is because they use it all the time and things about it annoy them.

Pretty much everyone who uses any programming language has stuff they don’t like about it and we’ll complain about it from time to time. A lot of this stuff never really gets fixed, because updating languages is problematic, see mysqli_real_escape_string.

permalink
report
parent
reply
0 points

I don’t want to be that guy, but that PHP function call at the end that you said never really gets fixed… I haven’t used that in 20 years of PHP, and I’m pretty sure that hasn’t existed since like 10-15 years ago. People seem to love to hate php because 20 years ago it did something not quite right.

permalink
report
parent
reply
5 points

Being good has nothing to do with having to maintain your company’s code base that’s in Oracle’s Java SE 1.6.

You can’t just design your way out of a conflict whose solution is to change either the existing system architecture or change Java versions,

both suggestions will get you laughed out of the room.

permalink
report
parent
reply
16 points
*

Did you stop programming altogether? /s

I think you can potentially get stuck with worse when you stop Java.

permalink
report
parent
reply
1 point

Sure, there are worse languages and environments to get stuck with. But I can avoid those jobs. And if I get hired as a SomeLang developer and they force me to work in Java or whatever, it’s time to dust off the resume.

permalink
report
parent
reply
5 points

This isn’t Java it’s the jvm. Other languages run on it as well.

permalink
report
parent
reply
8 points

I am aware of that, but Java is the most popular language that runs on the JVM. I don’t specifically dislike other JVM languages, though one of my issues is type erasure and that’s partially a limitation of the JVM.

permalink
report
parent
reply
2 points

Kotlin is becoming very popular.In like 10 years of Java development I ran into type erasure like once…

Project Valhalla should help with it though (when it finally lands). And kotlin/other jvm languages will benefit as well.

permalink
report
parent
reply
1 point

There are solutions to it. For example in Scala I’ve had to use Class tags a couple of times before and they were ergonomic and functioned well

permalink
report
parent
reply

Programming

!programming@programming.dev

Create post

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person’s post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you’re posting long videos try to add in some form of tldr for those who don’t want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



Community stats

  • 2.5K

    Monthly active users

  • 1.9K

    Posts

  • 30K

    Comments