…from people who seem to refuse to install paredit or coloring plugins for either? ps lisp syntax ftw, it’s a feature!

  • lorty@lemmy.ml
    link
    fedilink
    arrow-up
    54
    arrow-down
    2
    ·
    6 months ago

    No, YAML can fuck right off. I hate that this shit format is used for cloud stuff.

      • RecluseRamble@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        7
        ·
        6 months ago

        OK, that’s excessively “convenient” for booleans. But I don’t get the passionate YAML hate, seems like a simple enough language for config. Didn’t have the pleasure (“pleasure”?) to work with it though, so what’s why else is it shitty?

        • CaptPretentious@lemmy.world
          link
          fedilink
          arrow-up
          14
          ·
          6 months ago

          Do a search for ‘why yaml is bad’ and you’ll get a lot of stories.

          Constant passing problems, especially when the yaml gets very large and complex. After I implemented a new feature I was pulled into a call with 12-15 people demanding to know why it didn’t work. The new feature worked fine, The guys yaml had the wrong amount of white space and so it didn’t parse.

        • lorty@lemmy.ml
          link
          fedilink
          arrow-up
          7
          ·
          6 months ago

          White space in the wrong place? Fails Wrong amount of tabs? Fail

          Working in a big configuration file that has a lot of nesting? Good luck.

          Best part is that most of these things don’t throw errors or anything, it just doesn’t work and you are left scratching your head as to why your deploy only fails in the production environment.

        • magic_lobster_party@kbin.run
          link
          fedilink
          arrow-up
          5
          ·
          6 months ago

          A property can have the wrong indentation and it would still be a syntactically correct yaml. It’s hard to distinguish whether a line is wrongly indented or not. Copy and paste a line and mistakenly use the wrong indentation, and the entire production breaks.

          In json it’s much harder to do similar mistakes.

    • AdamBomb@lemmy.sdf.org
      link
      fedilink
      English
      arrow-up
      1
      ·
      6 months ago

      Since it’s a superset of JSON, couldn’t you just use the JSON notation if you hate the semantic whitespace?