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
        2
        ·
        16 hours 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
        
        • historicaldocuments@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          4 hours 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.