• Dark ArcA
    link
    fedilink
    English
    arrow-up
    9
    ·
    9 months ago

    I agree with this, but there are ways to make your “source code” not a file that you will modify.

    For instance you can have a file that’s imported/included for configuration purposes that you yourself don’t author… And I think that’s okay.

    One of my favorite configuration languages for Python projects is actually just Python. It’s remarkably nice. It’s like having a YAML file you can script.

    • maiskanzler@feddit.de
      link
      fedilink
      arrow-up
      5
      ·
      9 months ago

      The line between configuration is very messy anyways. So many projects abuse YAML as a domain specific language. Looking at you, HomeAssistant and ESPHome!

      • brisk@aussie.zone
        link
        fedilink
        arrow-up
        2
        arrow-down
        1
        ·
        8 months ago

        I assume less custom configs are better, but I’ve seen Ansible yaml files that are just convoluted bash scripts written in yaml, which makes them even more convoluted.

        • maiskanzler@feddit.de
          link
          fedilink
          arrow-up
          1
          ·
          8 months ago

          Yeah that occurred to me as well. Then I immediately think that maybe we need ☆one more language☆ to fix this. And then I remember that one xkcd comic…