• 3abas@lemmy.world
    link
    fedilink
    arrow-up
    4
    arrow-down
    1
    ·
    3 days ago

    Because yaml is not a programming language, and debugging why your whatever you’re configuring isn’t working correctly can be a nightmare. It doesn’t tell you you missed an indent on a block, it just assumes it should be there and changes the meaning.

    Braces are visually clear.

    • softwarist@programming.dev
      link
      fedilink
      English
      arrow-up
      1
      ·
      9 hours ago

      I think YAML has its fair share of design flaws, but I don’t think significant indentation is one of them. It may not be a programming language (which may be debatable), but there are plenty that use syntactic whitespace.