Better HN
topnewbestaskshowjobs
Log inSign up

foomatic

24 karma · joined Aug 30, 2022 (4y ago) · 15 submissions

Submissions

comment 4y ago · link · parent

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 4y ago · link · parent

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 4y ago · link · parent

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 4y ago · link · parent

My point was a good coder / CS person is going learn either twice as fast as average one, bad one not at all.

comment 4y ago · link · parent

What?

comment 4y ago · link · parent

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 4y ago · link · parent

Sounds like software design process done poorly

comment 4y ago · link · parent

Sorry what?

comment 4y ago · link · parent

I don't feel better. What hope is there for me then!? Fuck-em and their stupid snobby jobs anyway.

comment 4y ago · link · parent

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 4y ago · link · parent

"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 4y ago · link · parent

What does "compose much better" mean?

comment 4y ago · link · parent

> 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 4y ago · link · parent

So useMemo === Vue's computed values??