4 ms·
I have deep respect for Python and like working in it, but Python's standard library has only one of the attributes listed on the comment you're responding to.
by tptacek 3y ago
I have deep respect for Python and like working in it, but Python's standard library has only one of the attributes listed on the comment you're responding to. The Go standard library is different in a variety of ways from Python's standard library, and, to the original commenter's point, it is far more common to replace portions of the Python standard library with third-party packages than it is with Go's standard library.
- pjmlp 3y agoI love the, yes but, kind of arguments when people get shown how they aren't exactly right.
- badrequest 3y agoI take it you're using urllib2 to make HTTP requests in Python?
- pjmlp 3y agoWhen the standard library does the job, there is no need to look elsewhe, unless forced to by third party libraries dependencies.
- tptacek 3y agoThey're really not comparable standard libraries. For the most part, the "batteries included" features in the Go standard library are the idiomatically accepted versions of those features in the community, which is not something you can say about Python's standard library. It's a major difference. Using something other than net/http would be a code smell in Go code, but using urllib would maybe almost be a code smell in Python.