you are viewing a single comment's thread
view the rest of the comments
[–] 3 points 6 months ago (2 children)

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.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 1 point 6 months ago (1 child)

    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.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 1 point 6 months 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.

  • source
  • parent