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
    ·
    4 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
      4 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.