QuizzaciousOtter@lemm.eetoProgrammer Humor@lemmy.ml•Better start fixing your spaghetti code.
20·
2 months agoWell, I actually enjoy code review, and I enjoy it on both ends. I learned A LOT thanks to insightful review by my teammates. And I like to pass that knowledge on to juniors when reviewing their code.
Declarative configuration fixes this problem. You don’t really have to write down how to setup something because the configuration is the description.
I use NixOS so in my case all the stuff you described would be defined in a Nix code in a separate Calibre module. I can enable and disable such module at will with a single option in my main config file.
I really recommend looking into immutable, declarative systems. I think NixOS is the most complete solution but there are some other too. I have no experience with them though.