• AVincentInSpace@pawb.social
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    5 months ago

    Anyone who knows me knows that I hate Java with the fire of a thousand suns, but this is just sad. Most of these are true of any programming language. There are plenty of legitimate reasons to hate Java besides the fact that its concurrency utilities are as utterly shite as those of its 90s contemporaries, like the fact that it does not support multiple inheritance, or remote interface implementation, or any form of namespacing besides the goddamned filesystem, or unsigned integers, or string formatting. Or you could rant about the primitive type/object dichotomy and how you can’t use primitive types in generics, or the fact that type erasure is a thing and you can’t return a generic type from a method because javac is too stupid to remember what generic parameters you passed to a class, or the JVM’s atrocious memory efficiency, or the fact that it’s not backwards compatible thus requiring end users to install multiple versions of the JVM for different projects, or

  • Orbituary@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    5 months ago

    My old boss is one of the 3 initial creators of Java. He ran our department the same way this greentext reads.

    He was also a paedo. You can figure out the rest if you dig.

    • blue lion@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      0
      ·
      5 months 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)

      • Blue_Morpho@lemmy.world
        link
        fedilink
        arrow-up
        0
        arrow-down
        1
        ·
        5 months 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.

          • Blue_Morpho@lemmy.world
            link
            fedilink
            arrow-up
            0
            arrow-down
            1
            ·
            5 months 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.