Hacker News new | ask | show | jobs
by anon7000 81 days ago
Helper functions seem trivial and not like you’re reimplementing much.
1 comments

Don't be silly, this is the JS ecosystem. Why use your brain for a minute and come up with a 50 byte helper function, if you can instead import a library with 3912726 dependencies and let the compiler spend 90 seconds on every build to tree shake 3912723 out again and give you a highly optimized bundle that's only 3 megabytes small?