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.

  • mindbleach@sh.itjust.works
    link
    fedilink
    arrow-up
    12
    ·
    2 days ago

    Using spaces at all is indefensible. We have a universal control character specifically to indent code however you want, clientside. I don’t care if your variables line up perfectly when they don’t fit on one line. Stop trying to do ASCII art with semantic syntax.

      • mindbleach@sh.itjust.works
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        17 hours ago

        Load-bearing whitespace like Python, yeah, absolutely. We can’t take a language seriously when the primary cause of incompatibility is literally unprintable.

        But indent your damn code. It’s universal for a reason. If the text exists to be read by humans, format it for how humans think.