this post was submitted on 13 Oct 2023
292 points (80.9% liked)

Programmer Humor

31324 readers
19 users here now

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

Rules:

founded 4 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
[โ€“] hatchet@sh.itjust.works 6 points 9 months ago (1 children)

I actually vastly prefer this behavior. It allows me to jump to (readable) source in library code easily in my editor, as well as experiment with different package versions without having to redownload, and (sort of) work offline too. I guess, I don't really know what it would do otherwise. I think Rust requires you to have the complete library source code for everything you're using regardless.

I suppose it could act like NPM, and keep a separate copy of every library for every single project on my system, but that's even less efficient. Yes, I think NPM only downloads the "built" files (if the package uses a build system & is properly configured), but it's still just minified JS source code most of the time.

[โ€“] Espi@lemmy.world 5 points 9 months ago

With python and virtualenv you can also keep the entire source of your libraries in your project.