• thebestaquaman@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    10 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
      link
      fedilink
      English
      arrow-up
      1
      ·
      42 minutes 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
      link
      fedilink
      arrow-up
      1
      ·
      3 hours ago

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