this post was submitted on 10 Apr 2024
105 points (95.7% liked)

Programming

17398 readers
105 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] Dark_Arc@social.packetloss.gg 10 points 7 months ago (1 children)

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 5 points 7 months ago (1 children)

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 1 points 7 months ago (1 children)

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 1 points 7 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...