TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: What are the biggest API development issues that you face?

8 点作者 harshulj超过 9 年前
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?

4 条评论

carbide超过 9 年前
A common API structure amongst teams? It&#x27;s hard enough coming up with a good API abstraction WITHOUT a team! I do my best to keep things as abstract as possible and leaving myself in a place where I can pass along versioning data with different object information so I don&#x27;t massively break things.<p>Some of the biggest issues I face still include lack of foresight, thankfully I haven&#x27;t had to have any truly major redesigns in any of my projects but there are always things you don&#x27;t expect.<p>Working in the private sector FOR someone the challenges are more along the lines of &quot;Can the other team really define what they want?&quot; I can&#x27;t define a good well abstracted API when they&#x27;re unexperienced or just don&#x27;t know what to ask for or even what they want.. but that problem tends to extend beyond programming :)<p>Other big problem: Documentation. I tend to be a 1 man team that interfaces with other teams of multiple people. I don&#x27;t usually document well. That sometimes bites me in the ass months later, but that&#x27;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&#x2F;ABI and again something I&#x27;m pretty bad at.
dhruv_parmar超过 9 年前
I feel most of the times API structures are decided in meetings on whiteboards and it becomes a pain maintaining context across such meetings. Also with remote teams the same process is usually done over email.<p>Also propagating deprecations&#x2F;breaking changes to the entire system is also a big pain point.
评论 #10199964 未加载
conorgil145超过 9 年前
Keeping the API documentation updated is a major pain point IMO. Many developers do not update it at all and often times it does not get updated when something is deprecated or removed from the API
mohammadshabaz超过 9 年前
Documenting the API contracts and keeping it updated is a major pain-point. Mocking the api until the real API is ready also takes up time.
评论 #10203567 未加载