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

Could you define what you mean by functional and ooo in practice, because to many people in pracitce functionsl is a garbage monad wrapper over anything with unreadable, undebugable code whose only purpose is to hide if else statements... and it doesn't even do that; while ooo is java factory of factoties mixed with aspect programming and 20 levels of inheritance.

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

    Not Op but..

    OO languages have classes with inheritance based polymorphism. I don't see struts + methods as enough to qualify.

    Functional languages have functions which can take functions as arguments and function composition as first class features.

  • source
  • parent