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?

  • @[email protected]
    link
    fedilink
    52 months ago

    To be pendantic, it’s level of indentation in Python that has semantic meaning, not whitespace.

    • @marcos
      link
      132 months ago

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

      • @[email protected]
        link
        fedilink
        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.