▲ | didip 15 hours ago | |||||||
This is super controversial for HN but I really really like YAML. The best “human readable” config language. | ||||||||
▲ | flanked-evergl 6 hours ago | parent | next [-] | |||||||
YAML is as good as we will get. | ||||||||
▲ | typpilol 15 hours ago | parent | prev | next [-] | |||||||
I can't decide between yaml and json5/json It seems like we will be forced to use both forever though | ||||||||
| ||||||||
▲ | andrepd 15 hours ago | parent | prev | next [-] | |||||||
It's crazy complicated and full of uneccessary cruft. Hence stuff like strictyaml | ||||||||
▲ | imiric 15 hours ago | parent | prev [-] | |||||||
I wouldn't say it's the most readable. Values can be ambiguous, YAML anchors are powerful but complicated, and using indentation to define structure means that you're never quite sure to which node something belongs to. And good luck hunting down weird errors if you mistakenly screw up the indentation. YAML is also often abused as a DSL and for very large documents (Ansible, k8s, GH Actions, etc.), which makes it a pain to work with. It's not so much that liking all of this is controversial. It's just a bad opinion. :p |