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

  • xmunk@sh.itjust.works
    link
    fedilink
    arrow-up
    3
    ·
    6 months ago

    Who hates s-expressions? They’re elegant as fuck…

    Python, on the other hand, deserves all the hate it gets for making whitespace syntactically significant - I even prefer Go’s hamfisted go fmt approach to a forced syntax to python’s bullshit.

    • eestileib@sh.itjust.works
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      6 months ago

      I dgaf about indices starting at 0 or 1, I can deal with case-insensitivity, but syntactically significant whitespace drives me up the wall.

      • Diplomjodler@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        6 months ago

        What’s so hard to understand about it? It’s how you should format your code anyway. Only it’s enforced.

        • vrighter@discuss.tchncs.de
          link
          fedilink
          arrow-up
          1
          ·
          6 months ago

          sometimes, a script needs to be edited in a plain text editor, without having access to an lsp or any other dev tools.

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

          It’s quite often I have to second guess whether the code is correctly intended or not. Is this line supposed to be part of this if block or should I remove that extra indentation? It’s not always entirely obvious. Extra troublesome during refactors.

          In other languages it’s always obvious when a line is incorrectly indented.

  • lorty@lemmy.ml
    link
    fedilink
    arrow-up
    3
    ·
    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
        1
        ·
        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?

        • magic_lobster_party@kbin.run
          link
          fedilink
          arrow-up
          2
          ·
          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.

      • quantenzitrone@feddit.de
        link
        fedilink
        arrow-up
        0
        ·
        6 months ago

        since yaml is just a superset of json, you can easily avoid all problems like this

        yaml is like a less strict json for me