…from people who seem to refuse to install paredit or coloring plugins for either? ps lisp syntax ftw, it’s a feature!

  • magic_lobster_party@kbin.run
    link
    fedilink
    arrow-up
    31
    ·
    5 months ago

    A property can have the wrong indentation and it would still be a syntactically correct yaml. It’s hard to distinguish whether a line is wrongly indented or not. Copy and paste a line and mistakenly use the wrong indentation, and the entire production breaks.

    In json it’s much harder to do similar mistakes.

    • Ethan@programming.dev
      link
      fedilink
      English
      arrow-up
      1
      ·
      5 months ago

      It’s hard to distinguish whether a line is wrongly indented or not.

      That’s very much not my experience. I use YAML regularly and while I’ve had copy paste indentation errors when I look at the offending line it’s always obvious to me how to fix the indentation. The only indentation thing that’s ever given me trouble is embedding YAML as a string within a file that uses tabs.