Sorry Python but it is what it is.

You are viewing a single thread.
View all comments
73 points

So you are saying that npm is better than pip?? I’m not saying pip is good, but npm?

permalink
report
reply
36 points

npm has a lockfile which makes it infinitely better.

permalink
report
parent
reply
21 points

pip also has lock files

pip freeze > requirements.txt

permalink
report
parent
reply
7 points

Would that just create a list of the current packages/versions without actually locking anything?

permalink
report
parent
reply
0 points

That’s not a lockfile. This would be the equivalent of package.json

permalink
report
parent
reply
-2 points

Pip has Pipfile.lock.

permalink
report
parent
reply
15 points

That’s pipenv. Pip just has the capability to read and write from a requirements.txt, which is a step that must be taken manually

permalink
report
parent
reply
3 points

I would say npm is shitty like a lot of tools are. pip takes it to the next level.

permalink
report
parent
reply
2 points

Yeah? I don’t recall having to wait a long time when setting up my project using pip.

permalink
report
parent
reply

Programmer Humor

!programmerhumor@lemmy.ml

Create post

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.

Community stats

  • 1.8K

    Monthly active users

  • 1.7K

    Posts

  • 37K

    Comments