Recent submissions

Comment · 4 years ago
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.
Comment · 4 years ago
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.
Comment · 4 years ago
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.
Comment · 4 years ago
My point was a good coder / CS person is going learn either twice as fast as average one, bad one not at all.
Comment · 4 years ago
What?
Comment · 4 years ago
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?
Comment · 4 years ago
Sounds like software design process done poorly
Comment · 4 years ago
Sorry what?
Comment · 4 years ago
I don't feel better. What hope is there for me then!? Fuck-em and their stupid snobby jobs anyway.
Comment · 4 years ago
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.

Comment · 4 years ago
"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.
Comment · 4 years ago
What does "compose much better" mean?
Comment · 4 years ago
> 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 ...

Comment · 4 years ago
So useMemo === Vue's computed values??

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton