322
Package managers be like (linux.community)

Sorry Python but it is what it is.

you are viewing a single comment's thread
view the rest of the comments
[-] ExLisper@linux.community 0 points 1 year ago

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.

[-] krimson@feddit.nl 21 points 1 year ago

I use pip extensively and have zero issues.

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

[-] QuazarOmega@lemy.lol 11 points 1 year ago

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

[-] ninpnin@sopuli.xyz 5 points 1 year ago

Fault of the libraries you decide to use, i.e. any and all node libraries

[-] QuazarOmega@lemy.lol 1 points 1 year ago

Well if that's the case, can't argue with that lol

[-] Theharpyeagle@lemmy.world 1 points 1 year ago

Really the fault of js since its standard library is so lacking (leftpad, anyone?), but js wasn't built to do half the stuff it's being asked to do, anyway.

[-] qaz@lemmy.world 4 points 1 year ago

You’ve never had broken dependencies?

[-] krimson@feddit.nl 5 points 1 year ago

Nope. I know mixing pip with python packages installed through your systems package manager can be a problem but that’s why I containerize everything.

[-] qaz@lemmy.world 1 points 1 year ago

I separate everything in virtual environments myself, but in my opinion you shouldn't need to that to simply avoid breaking your system.

[-] ExLisper@linux.community -1 points 1 year ago

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.

[-] TunaCowboy@lemmy.world 0 points 1 year ago

This is clearly a layer 8 issue lmao.

this post was submitted on 13 Oct 2023
322 points (81.3% liked)

Programmer Humor

32558 readers
474 users here now

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

Rules:

founded 5 years ago
MODERATORS