• blue lion
    link
    fedilink
    English
    arrow-up
    45
    arrow-down
    4
    ·
    19 hours ago
    • a hello world doesn’t need libraries in Java
    • installing JDK takes at most 5 steps, depending on the OS
    • a nullpointerexception is more likely the developper’s fault (unassigned value, calling a function on a null object)
    • IntelliJ is easy to install and modern (granted, other IDEs are very ancient)
    • developping GUI apps is a PITA, no matter the ecosystem (generally)

    The rest is more or less spot on (no idea about concurrency issues though)

    • tyler@programming.dev
      link
      fedilink
      arrow-up
      6
      ·
      13 hours ago

      The date of the post is from this week so it’s not accurate at all. Java does support main outside of a class now, and it doesn’t need to be static, or take args. You wouldn’t use JavaFX in this day and age either. Installing the jdk is absolutely nothing especially if you’re using IntelliJ as it will install it for you and manage everything. No library is even close to 3gb.

      This entire post sounds like it was written by someone that last touched Java in 2010.

      Source: am a Kotlin dev. Java sucks. None of these are the reasons why.

      • Ziglin@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        10 hours ago

        Depends on the version of Java you have to use and most places still say to put it in a class because they’re outdated too. (Is anything about Java modern?)

    • Blue_Morpho@lemmy.world
      cake
      link
      fedilink
      arrow-up
      30
      arrow-down
      3
      ·
      18 hours ago

      nullpointerexception is more likely the developper’s fault

      Of course it was the developer’s fault. But it’s absurd a language without pointers throws an error about pointers.

      • Lysergid@lemmy.ml
        link
        fedilink
        arrow-up
        17
        arrow-down
        1
        ·
        17 hours ago

        I guess naming it NullReferenceException will revolutionize industry

        • Blue_Morpho@lemmy.world
          cake
          link
          fedilink
          arrow-up
          7
          arrow-down
          1
          ·
          13 hours ago

          Having error messages that match the language is actually helpful. A reference and a pointer aren’t exactly the same.

          Like if Rust output “invalid word size” on a type mismatch.