this post was submitted on 13 Oct 2023
293 points (81.0% liked)

Programmer Humor

33569 readers
39 users here now

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

Rules:

founded 5 years ago
MODERATORS
 

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 4 points 1 year ago* (last edited 1 year ago) (4 children)

In my experience npm is not great but it does work most of the time. I just tried installing bunch of stuff using pip and NONE of them worked. Python is backwards compatibility hell. Python 2 vs 3, dependencies missing, important libraries being forked and not working anymore. If the official installation instructions are 'pip install X' and it doesn't work then what's the point?

npm has A LOT of issues but generally when I do 'npm i' i installs things and they work.

But the main point is that cargo is just amazing :)

P.S. Never used ruby.

[–] ArbiterXero@lemmy.world 33 points 1 year ago (1 children)

Well there’s your problem lol.

Don’t use 2 for anything, it’s been “dead” for almost 4 years.

[–] spacecadet@lemm.ee 2 points 1 year ago (1 children)

Ahh the blissful ignorance of not having to manage tech debt

[–] ArbiterXero@lemmy.world 1 points 1 year ago

No, I just don’t ignore it for 4 years.

The bliss is in having management that actually DOES manage the debt instead of ignoring it until it shits the bed

[–] _stranger_@lemmy.world 22 points 1 year ago (1 children)

I don't think it's fair to blame pip for some ancient abandoned packages you tried to use.

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

The issues I had:

  • packages installing but not working due to missing dependencies
  • packages installing but not working due to broken dependencies (wrong lib version installed)
  • packages not building and failing with obscure errors
  • one package was abandoned and using Python 2.7

If a 'pip install X' completes successfully but X doesn't work it's on pip. And when it fails it could tell you why. Cargo does.

[–] redcalcium@lemmy.institute 6 points 1 year ago

Hmm, I personally haven't seen that kind of issue myself though. I also tend to not use random packages from random authors though, so that might help.