Mine is that the useState hook is an actual plague on the entire React ecosystem. Regardless of your opinions of React, if you wanna use something then use it right.

      • noahm@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        7 days ago

        Specifically I hate it as a prefix. It’s even worse when else clauses become involved!

        x = "this is great"
        y = "this is awful"
        z = false
        
        unless(z)
          puts(y)
        else
          puts(x)
        end
        
          • noahm@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            ·
            edit-2
            3 days ago

            yes, and? Having to translate unless to if not is basically exactly why I hate it. Just write if not

        • historicaldocuments@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          6 days ago

          Despite this being the perfect spot for one, I’m not a fan of ternary operators but syntax isn’t supposed to matter…

          Since we’re going for unpopular opinions or hills to die on: if syntax didn’t matter we’d all be using Ada.