On API Usability

Steven talks about API Usability and even asks you to sign up to go to API usability tests.  He makes a point that I use often…  I call it the “design in reverse” principle.  Before you write any of your framework, write a simple app that uses it… What are the three lines of code it takes to perform the common task?  Then just build the API to make that possible.

Published 14 November 03 10:42 by BradA

Comments

# Tor said on November 21, 2003 7:39 AM:
That's one of the nice aspects of test first development; you usually come up with better APIs because you have designed them "in reverse," in the unit tests. Speaking of which, it'd be very interesting if you could explain to which extent your group is unit testing the Framework when designing new APIs.
New Comments to this post are disabled

Search

Go

This Blog

Syndication

Page view tracker