• 3abas@lemmy.world
    link
    fedilink
    arrow-up
    4
    arrow-down
    1
    ·
    5 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
      ·
      2 days 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.

      • 3abas@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        1 hour ago

        It’s not debatable… You linked to a programming language that uses yaml syntax, that didn’t make yaml itself a programming language… It’s not.

        And I know there are plenty that use syntactic whitespace, and I hate that about all of them. Literally my only real frustration with python is due to the time of my life wasted debugging perfectly fine logic that fails because a few lines had incorrect indentation.