• dingleberry@discuss.tchncs.de
    link
    fedilink
    arrow-up
    25
    arrow-down
    3
    ·
    edit-2
    1 year ago

    Oddly enough Java. If you weren’t brainwashed to write the “enterprise Java”, it’s surprisingly succinct. More so than Go, whose forced “simplicity” ended up making it more verbose.

      • swordsmanluke@programming.dev
        link
        fedilink
        arrow-up
        13
        arrow-down
        1
        ·
        1 year ago

        I fucking love Kotlin.

        Access to the massive Java ecosystem, and takes away 99% of the boilerplate that everybody loves to hate. AND introduces Optional types to make Null-management better. AND smart, type-aware hinting in the editor so that if you’ve validated once that x is not null, you won’t get warnings downstream - unless your variable could be altered by another thread, which is an important thing to know.

        Kotlin is Java with all the suck taken out.

        …And the Kotlin compiler is compatible with Java, so you can migrate one file at a time or just try it out in a subsection of your codebase…

        It’s just… chef’s kiss

    • Pyro@lemmy.world
      link
      fedilink
      English
      arrow-up
      7
      arrow-down
      1
      ·
      1 year ago

      I’ve heard that the recent versions of Java are a lot more pleasant to work with. I’ll probably still stick to C# though.