mostlylikeable
Re:Greppability is an underrated code metric
on Tuesday September 03, 2024 @08:27AM (#41434286)
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 () => {}
Re:Node_modules: One character saved 50 GB of disk space
on Friday September 30, 2022 @06:25PM (#33041550)
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.
Re:TypeScript is terrible for library developers
on Wednesday August 24, 2022 @01:34AM (#32575300)
“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.