127
TOML (lemmy.ml)
you are viewing a single comment's thread
view the rest of the comments
[-] thebestaquaman@lemmy.world 2 points 15 hours ago* (last edited 15 hours ago)

.vscode would like a word.

But besides that, I just can't understand why even someone that hates JSON would choose TOML over YAML for a config file.

[-] Ephera@lemmy.ml 1 points 5 hours ago

VSCode is Electron, i.e. a webpage, so it's not hugely surprising that they opted for the natively supported JavaScript Object Notation. ~~And also shows that they don't care for using the right tool for the job to begin with.~~

Personally, I much prefer TOML over YAML, because it does not have significant whitespace, and because you can read the spec in a reasonable amount of time. It just has so much less complexity, while still covering the vast majority of use-cases perfectly well.

[-] Faux@lemmy.ml 1 points 7 hours ago

Most of production failures in my company in last few years come from people making mistakes in yaml indentation.

this post was submitted on 24 Feb 2026
127 points (95.7% liked)

Programmer Humor

41128 readers
331 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 6 years ago
MODERATORS