Hacker News new | ask | show | jobs
by dysfunction 3742 days ago
There is a practical reason for tiny modules in client-side JS that doesn't exist with Python: page load times. If your base layer is going to have third-party dependencies, they better be tiny and do only and exactly what you need.

That said, lodash core is only 4KB, and lodash gives you the ability to build it with only the categories or exact functions you want, so I don't understand what the purpose of a "micro-lodash" would be.

1 comments

There are tools to include only the stuff you actually use that you can stuff in your build process though.