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?

  • xmunk@sh.itjust.works
    link
    fedilink
    arrow-up
    13
    arrow-down
    1
    ·
    4 months ago

    They may be obvious to the reader but they may be impossible to see if tabs and spaces are mixed together.

    Closing tokens are always clearer.

    • Eager Eagle@lemmy.world
      link
      fedilink
      English
      arrow-up
      6
      arrow-down
      3
      ·
      edit-2
      4 months ago

      yes, from my other comment

      the only mistake of Python when it comes to whitespaces was allowing hard tabs

      but that’s easily fixed with an editor setting - on the other hand, unbalancing braces (and not realizing it) is too easy all the time.