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?

  • Windex007@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    4 months ago

    Any language in which whitespace has syntactic value is intrinsically flawed.

    Can’t speak to your specific issues, but that’s why yaml will always suck.

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

      YAML sucks because, among other things, indenting it is not obvious.

      In contrast, the only mistake of Python when it comes to whitespaces was allowing hard tabs, which makes it too easy to mix them if your editor is not configured.

      Improper indentation stands out more than missing or unbalanced braces and it’s really not an issue to delimit code blocks.