• 0 Posts
  • 451 Comments
Joined 2 years ago
cake
Cake day: June 10th, 2024

help-circle



  • I made a really cozy and usability-focused setup like 10 years ago, and since I made it with NixOS+home-manager I’m just carrying it over with me. It is going strong after three device swaps, two moves to a new country, and meeting a partner, with some minor changes (i3 -> sway, Nord theme -> custom base16-based, pulseaudio -> pipewire, etc)













  • Abstraction, when used well, is actually a tool that produces more simple code in the long run. It separates different concerns into different pieces of code, makes code readable by extracting common logic and giving it a recognizable name, and reduces boilerplate.

    That said, OOP-style inheritance-based abstractions, while useful in some cases, quite often lead people down the complete opposite path - mushing together unrelated logic and then making call sites difficult to understand with a lot of hidden state that has to be kept in mind.