• towerful@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    3 months ago

    uses yaml for scripting so it’s clean and readable.

    Eh…

    I guess yaml is fine.
    I hate the significance of whitespace, and the fact that I cannot find any editor that can auto-format. Which are both related, I guess: there is no way to know a yaml document is actually correctly formatted without knowing the intended schema.

    Whereas JSON doesn’t have this ambiguity. But JSON has it’s own drawbacks.

    • kevincox@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      3 months ago

      YAML is fine as a configuration language and ok data input language.

      YAML is absolutely cursed as a programming language. As in Ansible has created a really shitty programming language inside of YAML. Should be burned with fire.

  • LordKitsuna@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    3 months ago

    Anyone that says yaml is readable is psychotic. It’s literally objectively not readable because a random white space character can break the entire thing and that’s by definition not readable I can’t see whether there’s a white space or not without explicitly setting that up in an editor