this post was submitted on 13 Oct 2023
316 points (81.2% liked)

Programmer Humor

32692 readers
340 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
[–] operetingushisutemu@feddit.de 27 points 1 year ago* (last edited 1 year ago) (4 children)

I don't know what cargo is, but npm is the second worst package manager I've ever used after nuget.

[–] scorpionix@feddit.de 26 points 1 year ago

cargo is the package manager for the Rust language

[–] Lucky@lemmy.ml 10 points 1 year ago (1 children)

I've never had an issue with nuget, at least since dotnet core. My experience has it far ahead of npm and pip

[–] jubilationtcornpone@sh.itjust.works 8 points 1 year ago* (last edited 1 year ago) (1 children)

I'll second this. I would argue that .Net Core's package/dependency management in general is way better than Python or JavaScript. Typically it just works and when it doesn't it's not too difficult to fix.

[–] dan@upvote.au 2 points 1 year ago

It's also much faster to install packages than npm or pip since it uses a local package cache and each package generally only has a few DLL files inside.

[–] backhdlp@lemmy.blahaj.zone 5 points 1 year ago
[–] Pxtl@lemmy.ca 2 points 1 year ago* (last edited 1 year ago) (1 children)

what's wrong with nuget? I have to say I like the "I want latest" "no, all your dependencies are pinned you want to update latest you gotta decide to do it" workflow. I can think of some bad problems when you try to do fancy things with it but the basic case of "I just want to fetch my program's dependencies" it's fine.

[–] Lucky@lemmy.ml 2 points 1 year ago* (last edited 1 year ago) (1 children)

I'm guessing they only used it 10 years ago when it was very rough around the edges. It didn't integrate well with the old .NET Framework because it conflicted with how web.config managed dependencies and poor integration with VS. It was quite bad back then.. but so was .NET Framework in general. Then they rebuilt from the ground up with dotnet core and it's been rock solid since

Or they just hate Microsoft, which is a common motif to shit on anything Microsoft does regardless of the actual product.

[–] Pxtl@lemmy.ca 2 points 1 year ago (1 children)

Imho the VS integration has always been good, it's the web config that's always been a trash fire, and that's not new.

[–] Lucky@lemmy.ml 1 points 1 year ago

The project I'm on right now originally had the nuget.exe saved in source because they had to manually run it through build scripts, it wasn't built in to VS until VS2012