News for hackers. Stuff that matters.
Re:More powerful Go execution traces by tptacek on Friday March 15, 2024 @10:33AM (#39716202)
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.
Re:More powerful Go execution traces by pjmlp on Friday March 15, 2024 @02:18PM (#39718960)
I love the, yes but, kind of arguments when people get shown how they aren't exactly right.
Re:More powerful Go execution traces by tptacek on Friday March 15, 2024 @03:26PM (#39719717)
They'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.
Re:More powerful Go execution traces by pjmlp on Friday March 15, 2024 @04:00PM (#39720041)
Only for those that love to shit on Python standard library.
Re:More powerful Go execution traces by tptacek on Friday March 15, 2024 @11:02PM (#39722977)
No, people can have opinions about things that are neither glowing nor scatological.
Re:More powerful Go execution traces by pjmlp on Saturday March 16, 2024 @08:33AM (#39725357)
Good for them.
Re:More powerful Go execution traces by badrequest on Friday March 15, 2024 @03:09PM (#39719545)
I take it you're using urllib2 to make HTTP requests in Python?
Re:More powerful Go execution traces by pjmlp on Friday March 15, 2024 @03:59PM (#39720033)
When the standard library does the job, there is no need to look elsewhe, unless forced to by third party libraries dependencies.