Hacker News new | ask | show | jobs
by macNchz 1269 days ago
I have gripes with some things in the current state of Python, package management particularly, but choosing JavaScript because Python's standard library is "barebones" doesn't really make any sense to me.

I've always found the Python standard library to have tons of useful stuff, and when I'm doing something in JS I often feel like I'm missing my toolbelt or something. Then I install a single npm package to do something simple and it winds up having 350 dependencies.

1 comments

Yes, it was bizarre to see:

- Python is too big

- Python's standard library is too small

- therefore, you should use JavaScript

It made me wonder if I was hallucinating, so I went and checked... my `node` execurtable is 78MB. Thanks to its robust standard library, my node_modules folder is only 884 MB.

I never said "you should use JavaScript." The post is my own justifications for avoiding Python and I'm not even saying JS beats it on all of these points. The better performance and adequacy of npm/yarn just barely tips the scales in favor of it for me.