127
TOML
(lemmy.ml)
Post funny things about programming here! (Or just rant about your favourite programming language.)
.vscodewould like a word.But besides that, I just can't understand why even someone that hates
JSONwould chooseTOMLoverYAMLfor a config file.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.
Most of production failures in my company in last few years come from people making mistakes in yaml indentation.