TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

The Little Manual of API Design

207 pointsby truciousalmost 14 years ago

9 comments

Chris_Newtonalmost 14 years ago
One of the most interesting things I ever saw about API design was a presentation by Casey Muratori called "Designing and Evaluating Reusable Components".<p>It's the first time I saw anyone acknowledge this profound insight: sometimes, writing a practically useful API entirely at the same level of abstraction simply isn't possible.<p>Looks like it's available here, now:<p><a href="http://mollyrocket.com/9438" rel="nofollow">http://mollyrocket.com/9438</a>
aleembalmost 14 years ago
Also noteworthy is the "How to Design a Good API &#38; Why it Matters" talk<p>video: <a href="http://www.youtube.com/watch?v=aAb7hSCtvGw" rel="nofollow">http://www.youtube.com/watch?v=aAb7hSCtvGw</a><p>pdf: <a href="http://lcsd05.cs.tamu.edu/slides/keynote.pdf" rel="nofollow">http://lcsd05.cs.tamu.edu/slides/keynote.pdf</a>
wickedchickenalmost 14 years ago
One library I've found very useful to study is libcurl -- it has a very elegant degradation system. Easy things start out easy, and when the user chooses to handle more complexity she can switch to a lower-level set of calls.
wmatalmost 14 years ago
Thanks for this post! This is the kind of content I wish HN had more of.
评论 #2799074 未加载
评论 #2796815 未加载
评论 #2796790 未加载
clintjhillalmost 14 years ago
I appreciate the small reference to "The Elements of Style" by Strunk. That book has helped me refine not only my writing but also my software design.
aedenalmost 14 years ago
This is an excellent little PDF that was very useful to me when I put together a recent talk titled "API Design Matters". It's amazing how a bit of energy spent focusing on an API's design can improve so many aspects of both using and developing said API.
robjohnsonalmost 14 years ago
API design is something I have been meaning to look into - thanks for the link.
rplacdalmost 14 years ago
If you're looking to save this link, it's on Proggit.
评论 #2798516 未加载
woogleyalmost 14 years ago
PDF version: <a href="http://www4.in.tum.de/~blanchet/api-design.pdf" rel="nofollow">http://www4.in.tum.de/~blanchet/api-design.pdf</a>
评论 #2797928 未加载