3 ms·
I feel like to use even the most basic python tools I need to use a package manager or find solutions for mix matched dependencies. Is this problem unique to m
by thierrydamiba 2y ago
I feel like to use even the most basic python tools I need to use a package manager or find solutions for mix matched dependencies.
Is this problem unique to me?
- elbear 2y agoYeah. I feel nobody uses the standard library. Even for stuff like HTTP there is requests.
- reidrac 2y agoIt all depends. For a quick script that I can write in 15 mins that uses an HTTP client, JSON and joins two APIs together, the standard library is OK. To be fair, it could be almost a bash script (using curl and jq or something like that), but I'm more comfortable with Python. So for one-off (or almost one-off) scripts, the standard library is worth avoiding dealing with dependencies.
- thierrydamiba 2y agoAs the comment below alludes to, how many people are just going to import requests as r and then break something else instead of just hitting the client?
- penguin_booze 2y agoIn the case of Python, both you the developer and the users need all these packages installed. So it's trouble in perpetuity. The saving grace with Haskell is that it compiles to native binary, so only the developer takes the bullet.