Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That's just a post hoc rationalization.

The whole "culture" popped up because people wanted to share code between browsers and backends and there's no tree shaking in Javascript, so libraries had to be super small and modular to keep the code small for the front end, where download/unzipping/code parsing/compiling code speed matters.

If browsers get a big stdlib, many of these libraries will just go away (bye, leftpad!).



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: