top | item 39075272

(no title)

andyfleming | 2 years ago

JSON5 is a more reasonable format for config files, in my opinion.

discuss

order

tipiirai|2 years ago

I prefer YAML on my Markdown front matter. It's more readable because of no brackets, quotes, or commas.

jerbear4328|2 years ago

Seconding the sibling, YAML may look nice but it's absolutely full of awful confusing behavior. If you don't like JSON for human-written stuff, see TOML or the like. I think JSON is great for serialization, it's so simple, but I agree we need something more readable like TOML for human-written data.

https://ruudvanasseldonk.com/2023/01/11/the-yaml-document-fr...

andyfleming|2 years ago

> I prefer YAML on my Markdown front matter. It's more readable because of no brackets, quotes, or commas.

YAML is full of pitfalls. I think the brackets/braces and quotes are worth giving up a small amount readability to eliminate the ambiguity.