Sorry Python but it is what it is.

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

Bruh idk why the difference… Educate me?

permalink
report
reply
5 points

Pip stores everything inside of some random txt file that doesn’t differentiate between packages and dependencies.

permalink
report
parent
reply
12 points

Pip stores nothing in a text file

permalink
report
parent
reply
1 point

If you want to export your local environment, isn’t usually a requirements.txt used?

permalink
report
parent
reply
4 points

Honestly its a simple and straightforward solution. What’s wrong with it?

permalink
report
parent
reply
1 point
*

If newer versions are released and dependencies change you would still install the old dependencies. And if the dependencies are not stored you can’t reproduce the exact same environment.

permalink
report
parent
reply
0 points

cargo just works, it’s great and everyone loves it.

npm has a lot of issues but in general does the job. When docs say do ‘npm install X’ you do it and it works.

pip is a mess. In my experience doing ‘pip install X’ will maybe install something but it will not work because some dependencies will be screwed up. Using it to distribute software is pointless.

permalink
report
parent
reply
21 points

I use pip extensively and have zero issues.

npm pulls in a million dependencies for even the simplest functionality.

permalink
report
parent
reply
11 points

Is that really the fault of the package manager or is it of the libraries you decide to use?

permalink
report
parent
reply
4 points

You’ve never had broken dependencies?

permalink
report
parent
reply
-1 points

It probably works for your own local project. After using it for couple of days to install some 3rd party tool my conclusion is that it has no idea about dependencies. It just downloads some dependencies in some random versions and than it never works. Completely useless.

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

  • 4.1K

    Monthly active users

  • 1.5K

    Posts

  • 35K

    Comments