|
|
|
Ask HN: What are the biggest API development issues that you face?
|
|
8 points
by harshulj
3939 days ago
|
|
Some issues that I face are :
1. Deciding on a common API structure amongst teams.
2. Keeping up to date with the changing API structures.
3. Suggesting modifications to an existing API.
4. Waiting for backend developers to finish APIs before getting started.
5. Notifying co-workers of deprecations/breaking changes.
If yes then How do you tackle these issues in your current work? |
|
Some of the biggest issues I face still include lack of foresight, thankfully I haven't had to have any truly major redesigns in any of my projects but there are always things you don't expect.
Working in the private sector FOR someone the challenges are more along the lines of "Can the other team really define what they want?" I can't define a good well abstracted API when they're unexperienced or just don't know what to ask for or even what they want.. but that problem tends to extend beyond programming :)
Other big problem: Documentation. I tend to be a 1 man team that interfaces with other teams of multiple people. I don't usually document well. That sometimes bites me in the ass months later, but that's a typical story -- document and comment! Know WHY you chose to implement an API the way you did. Was it your choice? Was it the other guy? Did you miscalculate something or not realize how a project might expand? Documentation goes beyond defining the API/ABI and again something I'm pretty bad at.