News for hackers. Stuff that matters.
Re:The Little Manual of API Design by Chris_Newton on Saturday July 23, 2011 @01:07PM (#2797279)
One of the most interesting things I ever saw about API design was a presentation by Casey Muratori called "Designing and Evaluating Reusable Components".

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.

Looks like it's available here, now:

http://mollyrocket.com/9438

Re:The Little Manual of API Design by aleemb on Saturday July 23, 2011 @04:43AM (#2796513)
Also noteworthy is the "How to Design a Good API & Why it Matters" talk

video: http://www.youtube.com/watch?v=aAb7hSCtvGw

pdf: http://lcsd05.cs.tamu.edu/slides/keynote.pdf

Re:The Little Manual of API Design by wickedchicken on Saturday July 23, 2011 @12:34PM (#2797202)
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.
Re:The Little Manual of API Design by wmat on Saturday July 23, 2011 @08:06AM (#2796782)
Thanks for this post! This is the kind of content I wish HN had more of.
Re:The Little Manual of API Design by mun2mun on Sunday July 24, 2011 @05:45AM (#2799074)
There was a discussion in reddit about pthread api design http://www.reddit.com/r/programming/comments/bmnkl/pthreads_... .

Edit: sorry this was replied to smunz's comment.

Re:The Little Manual of API Design by smunz on Saturday July 23, 2011 @08:33AM (#2796815)
Absolutely. Any suggestions for places to find more content like this?

Not to leave HN, just to complement it ;)

Re:The Little Manual of API Design by aeden on Saturday July 23, 2011 @11:42AM (#2797077)
There is surprisingly little written about good API design. Maybe it's because the important things to say have already been said, but I have my doubts that that is the reason.
Re:The Little Manual of API Design by robbles on Saturday July 23, 2011 @07:00PM (#2798082)
I suspect it's partly because of the difficulty involved in measuring the quality of a given API's design. How do you separate the success resulting from the usefulness or popularity of the technology from the design of the API?

That was the first thing I though on starting to read this. How do they know they've actually got it right? Feedback from users?

Re:The Little Manual of API Design by clintjhill on Sunday July 24, 2011 @02:51AM (#2798831)
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.
Re:The Little Manual of API Design by aeden on Saturday July 23, 2011 @06:30AM (#2796653)
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.
Re:The Little Manual of API Design by robjohnson on Sunday July 24, 2011 @12:15PM (#2799658)
API design is something I have been meaning to look into - thanks for the link.
Re:The Little Manual of API Design by rplacd on Saturday July 23, 2011 @10:54AM (#2797004)
If you're looking to save this link, it's on Proggit.
Re:The Little Manual of API Design by __rkaup__ on Saturday July 23, 2011 @11:10PM (#2798516)
If you click your name in the orange bar at the top here, and click 'saved stories', you can find all the stories you have upvoted.
Re:The Little Manual of API Design by rplacd on Sunday July 24, 2011 @01:58AM (#2798749)
Never understood what that link meant - thanks.
Re:The Little Manual of API Design by woogley on Saturday July 23, 2011 @03:36PM (#2797603)
Re:The Little Manual of API Design by ramchip on Saturday July 23, 2011 @05:53PM (#2797928)
The link is to the PDF version already. It will take you to Scribd only if you click the [scribd] part.