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

I'm thinking now I should write an internal client for my APIs. I admittedly don't have one, and it would show me what's wrong with them.


yes. Absolutely. This is the number one rule of writing APIs.

If you use an api of any kind, from open-source code API's, to proprietary black box HTTP api's -- you can _definitely_ tell when the api developers have a strong understanding of the use cases, and when they don't. The best way to get a strong understanding of the use cases is to write a client.

This is what "dog fooding" means.




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

Search: