Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

On the other hand I guess you could probably write a nice library that uses curl under the hood, here it's just a case of ugly design.


Indeed, I do exactly that: http://requests.ryanmccue.info/

I completely agree on cURL's design though. It's painfully obvious when working with the cURL bindings in PHP that it didn't have much thought put in to adapting it to PHP's constraints and is essentially just the command line client in a "nice" wrapper. It ends up being a huge pain to work with.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: