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.

  • 185 Posts
  • 770 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
    2
    ·
    edit-2
    20 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.