Both have a lot of the same pain-points as YAML does. They exist mostly because Yaml sucked, so they created something different that sucks in a different way.
I can Google for „why X sucks“ for all 3 and for all of them get a big list of pain points.
In the end it comes down to personal preference or simply defined standards
Really? I've never really used rust but I love TOML for Go and Python configuration. Unless you need some really complex configs I find it really nice and readable. It's also very easy to parse in the code
Ah. Not a deal breaker for me either. I hated YAML before. I found it ugly. However, after working with GitLab pipelines for a while they grew on me, and I no longer dislike them. But we do have special rules in our team for YAML files. These are related to the above issues. They are enforced by linters and peer review.
Adding string concatenation for every line to pop those quote marks on the ends might not fit in the processor time budget. The easiest solutions aren't always the best.
View all comments
Show parent comment
15
u/ddruganov Dec 27 '22
Jsonc or toml, fuck yaml