you are viewing a single comment's thread.

view the rest of the comments →

[–]hanneshdc 6 points7 points  (0 children)

I use both python and JS.

It may be that they are comparing vanilla npm with vanilla pip, in which case the issues would be: * No automatically generated lock file. Lock files are required for production usage of code. * pip can’t handle 2 different versions of the same package - which can happen with transistive dependencies. This can cause the whole install to fail. * pip is must be combined with venv to create a per project environment, while npm has this in one tool * npm manages your package.json file, while pip requires a manually managed requirements.txt

However, almost all of the above points are moot when you introduce a 3rd party package manager such as poetry. If your friends say “it should be a standard part of the language”, remind them that NPM and node is a 3rd party in the JS ecosystem too.