Um no. A closer analogy would be like hiring a good 737 pilot for 777 instead of someone with thousands of hours on the 777.
HN user
foomatic
Guy shouting fuck you pig while surrounded by 50 SWAT guys sounds like a mental health emergency. Can't do much about that. Ain't called first respondersfor nothing.
Code comments are implicitly associated with code that already exists. Sounds like your making a presumption about what code exists and potential missing the forest for the trees.
My point was a good coder / CS person is going learn either twice as fast as average one, bad one not at all.
What?
Why not just hire good people and ask them to learn C++. I mean how the heck did anyone actually pass this magic barrier of becoming a "C++ dev" in order to get hired as a C++ dev?
Sounds like software design process done poorly
Sorry what?
I don't feel better. What hope is there for me then!? Fuck-em and their stupid snobby jobs anyway.
Oh ok. I'd agree Hooks compose much better then. But there was no attempt or consideration at compositional API for class based components besides getting rid of it entirely and then adding functions that hook into the nether nether.
For example, the equivalent of useEffect required calls inside of componentWillMount, componentDidUpdate, and componentWillUnmount.
Yeah from what I recall this was the prime motivational example given in the React docs for introducing hooks. It's a legit problem. But hooks and getting rid of class based components is not the only solution. In classical OO are also well worn solutions along the lines of hooks, they just work with classes / objects with interfaces still. It's somewhat frustrating that this is never even considered.
"useCallback" is not very intuitive naming. I'd guess a fair bit of the confusion could be attributed to this alone. Could have been useMemoizedValue useMemoizedCallback at least. The whole useXXX naming convention is also unintuitive.
What does "compose much better" mean?
This can be contrasted with traditional market economies where large corporations start off as small companies and become dominant through innovation, growth, and generally meeting consumer demands.
Or when the govt sells off public assets ...
So useMemo === Vue's computed values??