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.

you are viewing a single comment's thread
view the rest of the comments
[–] 10 points 1 week ago (10 children)

Everyone who indents code with 4 spaces also eats children.

  • source
  • hideshow 10 child comments
  • [–] 12 points 1 week ago (2 children)

    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.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 1 point 1 week ago* (1 child)

    Ahh see, off-side rules is another shit that should die already (whitespace as indentation/scope)

  • source
  • parent
  • hideshow 1 child comment
  • [–] 2 points 1 week 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.

  • source
  • parent
  • [–] 4 points 1 week ago (2 children)

    I hit tab and just never go deeper than 3 indents.

  • source
  • parent
  • hideshow 2 child comments