• Ethan@programming.dev
    link
    fedilink
    English
    arrow-up
    0
    arrow-down
    1
    ·
    1 month ago

    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.

      • TheSambassador@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        arrow-down
        1
        ·
        1 month ago

        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.

        • kameecoding@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          1 month ago

          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