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?

    • marcos@lemmy.world
      link
      fedilink
      arrow-up
      14
      arrow-down
      1
      ·
      2 months ago

      The end of line also has semantic meaning. Both indentation and eol are whitespace.

      • LainTrain@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        2 months ago

        Indentation can be (and should be) tabs, EOL is it’s its own thing either \n or CRLF which Python source code did actually care about as recently as 2.3.

        Assumptions like this is why most people should stick to verbose languages with lots of guardrail braces.