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
[–] 3 points 10 hours ago (1 child)

100% agreed, though I'm in the "neither is ideal" camp. My favorite language, by a long way at this point is Rust.

It's not functional, but borrows a lot of functional idioms while avoiding the pain points functional language usually hit in exchange for losing the purity of functional languages.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 2 points 5 hours ago

    Nah, no language is "perfect" once you've used it enough I write python for money and elixir in my own time. I borrow implementation approaches from functional when it's appropriate. Avoid using complex classes, especially if the encapsulate state. But they have their uses and people should chose which works best for their use case

    I wouldn't write cli tools in elixir for example.

  • source
  • parent