Genuinely serious since this is so much of a meme.

  • curious@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    4 years ago

    It seems like you misunderstood my point. By saying that we should use more resources to make computing simpler I meant something like using a garbage collector, which trades some computing cycles and memory for better productivity and not something like bloating stuff up by using Electron. A lot of programming languages where designed when computers where slower and had not much memory. I would happily give 5% of performance and memory to have another improvement in productivity like the invention of the garbage collector gave us.

    … and now it actually feels more productive than Java.

    Java has always been full of boilerplate code, therefor it never really was very productive (maybe when compared to C++). I don’t get why anyone still writes Java, when there is Kotlin.

    • Java code is approximately 50% shorter than C++ code
    • Kotlin code is approximately 50% shorter than Java code
    • Haskell code is approximately 80% shorter than Kotlin code

    → what takes one pages in C++, takes 2-4 lines in Haskell.

    To the Nushell discussion: Nu is my main shell and I have contributed a bit of code to it in the past.