43

.yaml, .toml, etc?

you are viewing a single comment's thread
view the rest of the comments
[-] rikudou@lemmings.world 12 points 1 year ago

Yaml for me, I really like it. And the fact that every valid JSON is also a valid YAML is nice.

[-] magnus@lemmy.ahall.se 3 points 1 year ago

YAML here as well.

Configuration many levels deep gets so much harder for me to read and write in JSON with all [], {} and ""

Also the lack of comments... And YAML still is more used in software I'm using than JSON5, so I'd rather skip yet another format/library to keep track of.

[-] argv_minus_one@beehaw.org 2 points 1 year ago

Please do not use YAML. It's a syntactic minefield. It also doesn't allow tab indentation, which is supremely irritating.

[-] rikudou@lemmings.world 3 points 1 year ago

As I said, I like it the most, so I will use it. I like its syntax (except for yes and no for booleans, but nothing's perfect). I don't care much for tabs vs spaces, I use tab in my IDE and whatever it does, it does.

this post was submitted on 15 Aug 2023
43 points (100.0% liked)

Experienced Devs

3978 readers
1 users here now

A community for discussion amongst professional software developers.

Posts should be relevant to those well into their careers.

For those looking to break into the industry, are hustling for their first job, or have just started their career and are looking for advice, check out:

founded 2 years ago
MODERATORS