Remix.run Logo
sgarland 2 days ago

Same. My standing system prompt for Claude is “do not suggest any 3rd party libraries unless I ask for other options.”

Python perhaps isn’t quite as bad as JS in this regard, but people still have a tendency to pull in numpy for trivial problems that stdlib can easily solve, and requests to make a couple of simple HTTP calls.

fragmede 2 days ago | parent [-]

fascinating. What sort of web requests are you doing stuff are you doing that it's not just easier to use requests? I use requests pathologically, though I use things in the stdlib when it comes to it. personally I'm more surprised that it isn't in the stdlib by this point.

sgarland a day ago | parent [-]

It's not a matter of easier, it's that I'm against adding dependencies when they're not meaningfully adding value. It's not that hard to use urllib.request if you just need to pull down some file in a script, or fire a web hook, etc.

If you need connection pooling, keep-alive, or any of the other features that requests adds, then sure, add it.