Better HN
topnewbestaskshowjobs
Log inSign up

mostlylikeable

4 karma · joined Feb 5, 2022 (4y ago) · 3 submissions

Submissions

comment 2y ago · link · parent

To me, arrow functions behave more like I would expect functions to behave. They don’t include all the magic bindings that the function keyword imparts. Feels more “pure” to me. Anonymous functions can be either function () {} or () => {}

comment 4y ago · link · parent

Fwiw, it looks like you can use pnpm as nodeLinker with yarn berry. I’m a fan of yarn’s plugin support and the extensibility that provides, so I’ll likely be trying that with pnpm as the linker and see how that goes.

comment 4y ago · link · parent

“In effect, we are shifting complexity from end-developers to library developers.”

For me, this should be a principle goal of someone writing a library. A primary function should be to shift complexity into the library, and allow other developers to not have to worry about it.