Don't use YAML for configuration files. A single incorrect whitespace is enough to break indentation making subtle configuration changes that are easy to miss.
=> More informations about this toot | More toots from federico3@oldbytes.space
@federico3
=> More informations about this toot | More toots from cybertailor@wetdry.world
@cybertailor @federico3
What would be a good alternative?
[#]JSON? #TOML?
=> More informations about this toot | More toots from sumanthvepa@mastodon.social
@sumanthvepa @cybertailor JSON does not support comments, JSONC is not popular, TOML and INI have their own footguns as well... but at least JSON can be formatted clearly and with the least ambiguity. #devoops
=> More informations about this toot | More toots from federico3@oldbytes.space
@federico3 @sumanthvepa @cybertailor I've heard high praise for pkl from people I respect but haven't had a reason to check it out myself: https://pkl-lang.org/
=> More informations about this toot | More toots from binaryphile@fosstodon.org This content has been proxied by September (3851b).Proxy Information
text/gemini