a slight issue I have with systemd's source code is that a lot of it is written ...
grawity @grawity@treehouse.systems
a slight issue I have with systemd's source code is that a lot of it is written in the style of "let's add another helper to avoid duplicating these $things"
just one more helper. one more helper won't hurt you
I mean a lot of the time it makes sense to factor something out, especially when it's huge and repeated across 100 .c files, but every now and then I glance at a commit and think: "is it really not ok to just declare an option 3 times if you have 3 subcommands accepting it?"
because the added complexity of yet another helper func can sometimes be greater than the alleged cleanliness of "not repeating yourself", IMO