• intensely_human@lemm.ee
    link
    fedilink
    arrow-up
    13
    ·
    1 year ago

    I remember in my coding class when the prof claimed the language we were learning didn’t have GOTO, but it also didn’t need it because anything that could be accomplished with GOTO could be accomplished with loops and conditionals.

    Now looking back I can’t believe what a tech debt nightmare goto is, and I’m glad I weaned off it.

    Startup scripts seem more powerful because they’re code you know will be executed sequentially. For a developer that feels nice.

    But a declarative system like systemd is so much more predictable and stable, specifically because it does NOT allow for sequential execution of code.

    Once I made that switch I was a fan. It’s so much more predictable and standardized.

    • Helix 🧬@feddit.de
      link
      fedilink
      arrow-up
      3
      ·
      1 year ago

      Exactly my sentiment. Why would you want something with more moving parts than systemd which is also slower? :D

      There are some good alternatives to SysV init.d scripts nowadays which only came to fruition after systemd existed and people noticed it’s possible to write something like this.

      I used OpenRC and s6 and both of them worked better and were easier to configure than SysV init.