Re:Ask HN: What open source project, in your opinion, has th...
by busterarm on Monday March 11, 2019 @07:04PM
(#19363747)
Since we're on the topic of code quality, this example is an incredibly strong indication that you should be using an interface.
And while the requests library might be shorter/easier, it doesn't offer nearly the guarantees that it will exhibit the expected behavior nor the feature flexibility that libcurl does.
And while the requests library might be shorter/easier, it doesn't offer nearly the guarantees that it will exhibit the expected behavior nor the feature flexibility that libcurl does.
https://curl.haxx.se/libcurl/features.html
https://curl.haxx.se/libcurl/theysay.html