Why YAML sucks? - eviltoast

I feel that Yaml sucks. I understand the need for such markup language but I think it sucks. Somehow it’s clunky to use. Can you explain why?

  • lehenry@lemmy.world
    link
    fedilink
    arrow-up
    19
    arrow-down
    1
    ·
    3 months ago

    I think TOML should replace YAML for config files, it is much clearer, easier to parse for a human.

    • NostraDavid@programming.dev
      link
      fedilink
      arrow-up
      2
      ·
      3 months ago

      Depends on the data structure. If you want to save a table of sorts, you’re getting a bunch of unreadable [[[]]] nonsense.

      For flat structures it’s great though.