• flubba86@lemmy.world
    link
    fedilink
    arrow-up
    29
    ·
    edit-2
    10 months ago

    The one thing I can say about java; the kinds of people who like Java tend to really like Java. Everyone else just leaves them to it.

    • Lemzlez@lemmy.world
      link
      fedilink
      English
      arrow-up
      16
      arrow-down
      1
      ·
      10 months ago

      And the people hating on it somehow never used any version above 8, which is 10 years old and EOL.

        • Tom@programming.dev
          link
          fedilink
          arrow-up
          4
          ·
          10 months ago

          Having used PHP and Java extensively in my career, it’s always entertaining to read what people think about these languages.

          • zalgotext@sh.itjust.works
            link
            fedilink
            arrow-up
            3
            ·
            10 months ago

            I haven’t touched PHP since college, so about a decade, but back then I compared it to a very disorganized but well equipped toolbox. Everything you need to do your projects is there, but it’s scattered through 12 different unorganized drawers and cubbies, there’s an annoying mix of metric and imperial stuff, plus some random bits and bobs you inherited from your grandfather that you have no idea what they do.

      • flubba86@lemmy.world
        link
        fedilink
        arrow-up
        4
        ·
        10 months ago

        Oh I’m firmly in the second camp. They can use whatever version they like, as long as I don’t have to go near it.

      • QuaternionsRock@lemmy.world
        link
        fedilink
        arrow-up
        5
        arrow-down
        3
        ·
        10 months ago

        I’ve used Java 21 pretty extensively, and it’s still comically bad compared to various alternatives, even apples-to-apples alternatives like C#. The only reason to use Java is that you’ve already been using Java.

        • Lemzlez@lemmy.world
          link
          fedilink
          English
          arrow-up
          4
          ·
          10 months ago

          it’s still comically bad compared to various alternatives, even apples-to-apples alternatives like C#.

          I’d be interested to hear why. IMO Java has the superior ecosystem, runtime(s!), and community. The best part is that you don’t even HAVE to use java to access all this - you can just use kotlin, groovy, scala,… instead.

          In terms of the language itself, while it (still) lacks some more modern language features, it has improved massively in that area as well, and they’re improving at a significant rate still. It also suffers from similar issues as PHP, where it has some old APIs that they don’t want to get rid of (yet?), but overall it’s a solid language.