4 ms·
Noob question, what's the advantage of using a language library over using your programming language favorite http client?
by hotwagon 9y ago
Noob question, what's the advantage of using a language library over using your programming language favorite http client?
- oliwarner 9y agoSpeaking with experience of the Python Stripe library, automatic type conversions, native exceptions, keeps my code cleaner. If it were a simple API, I might agree, but Stripe does a lot of stuff and in payments, many things can go wrong. Particularly being able to directly handle exceptions (rather than picking apart obscure status codes) is a godsend.
- catmanjan 9y agoAs above, but also the out of the box HTTP client in C# is quite limited.