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
[–] 14 points 2 weeks ago (3 children)

I am with you all the way. For a high level programming language it’s incredible how close to C it is at times AND how many footguns the entire language has.
And you always hear the “a poor craftsman blames his tools” analogy when someone says PHP bad. But PHP is a hammer that’ll blow your arm clean off when you hit a nail at a slightly off angle.
There is no defending it, and it should have been replaced with better languages several times over.

Ok I need to stop myself now I can rant about this language for hours

  • source
  • parent
  • hideshow 3 child comments
  • [–] 10 points 2 weeks ago (1 child)

    I saw a nice counter to the "a poor craftsman..." analogy the other day that basically boiled down to a master craftsman will have very high standards about the tools they use.

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

    Yeah, I wholeheartedly agree with this. And it's not only frustrating that PHP doesn't live up to the high bar, every ""major"" update to PHP (that you graciously only get once a year) is only a small step in the right direction. They try to modernize it, buuut also try to keep it as backwards compatible as possible.

    And I think I've also seen a counter to the "a master craftsman will have very high standards" argument that boils down to "a master craftsman can work with any tool regardless of quality" but why can't we have higher standards in the programming world?

  • source
  • parent