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?

  • magic_lobster_party@fedia.io
    link
    fedilink
    arrow-up
    2
    ·
    13 days ago

    Yes, I think so. The downside with Python comes when refactoring the code. There’s always this double checking if the code is correctly indented after the refactor. Sometimes small mistakes creep in.

    It’s really hard to tell when Python code is incorrectly indented. It’s often still valid Python code, but you can’t tell if it’s wrong unless you know the intention of the code.

    In order languages it’s always obvious when code is incorrectly indented. There’s no ambiguity.