I joined Lemmy back in 2020 and have been using it as @qaz@lemmy.ml until somewhere in 2023 when I switched to lemmy.world. I’m interested in systemd/Linux, FOSS, and Selfhosting.

  • 1 Post
  • 10 Comments
Joined 3 years ago
cake
Cake day: June 10th, 2023

help-circle







  • qaz@lemmy.worldtoProgrammer Humor@programming.dev;DR blame the dev
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    2 days ago

    I really like how I can turn everything into immutable val’s and represent different paths as expressions, it can IMO really reduce the complexity of a function and makes it easier to spot bugs. I’ve been migrating some code of a FOSS app to Kotlin and was able to shrink most classes by like 30% while making it easier to read. The only thing I dislike about it is the additional syntax for various things, I could do without having multiple ways to write a constructor.


  • qaz@lemmy.worldtoProgrammer Humor@programming.dev;DR blame the dev
    link
    fedilink
    English
    arrow-up
    7
    ·
    edit-2
    2 days ago

    Also, like, fuck golang, it’s such a shit language and the compiler does very little to protect you

    I never understood why people like it. It’s a “new” language, and it still doesn’t seem to get the basics right. No proper null handling, and don’t get me started on interface{}. It’s like they set out to build a better alternative to C++ while ignoring the other developments outside C/C++ for the past 15 years. The compiler is damn quick, though.