Amazon.com Widgets

How to Design Great APIs and Why it Matters

    

A co-worker of mine sent me this presentation Joshua Bloch (Effective Java)… Joshua was a key API designer for Java at Sun and is now working at some small search engine company. It is so great to learn from your competitors and Josh really is a smart guy with clear, crisp ideas that resonate well in the .NET world.

How to Design a Good API & Why it Matters

A few takes aways for me:

  1. If the names are nasty, you likely have bad design
  2. Agility trumps completeness
  3. When in doubt leave it out
  4. Not to mention the numerous java framework examples he uses of what NOT to do. ;-)

BTW, you can of course find other great Framework design resources

MSDN Video Series on Designing .NET Class Libraries
BradA Design Guidelines Tag
Framework Design Guidelines : Conventions, Idioms, and Patterns for Reusable .NET Libraries

Published 16 January 07 08:54 by BradA

Comments

# Reflective Perspective » Coding for Coders - Good API Design said on January 16, 2007 5:37 PM:

PingBack from http://blog.cwa.me.uk/2007/01/16/coding-for-coders-good-api-design/

# David Gardiner said on January 16, 2007 6:12 PM:

Isn't Mater the tow truck in the Cars movie?

:-)

-dave

# BradA said on January 16, 2007 7:38 PM:

Thanks Dave.. fixed...

# Brad Abrams said on February 1, 2007 12:15 AM:

I just noticed Mitch posted a review of the Framework Design Guidelines . .NET Framework Design Guidelines

# David J. Smith's Blog said on February 6, 2007 6:58 AM:

Great talk recommended by Brad Abrams . http://www.infoq.com/presentations/effective-api-design Long,

# pradeepchellappan said on February 26, 2007 7:16 PM:

The last name is Bloch and not Block :-)

# BradA said on February 26, 2007 11:36 PM:

Utz.. thanks! fixed.

# ... said on March 10, 2007 5:28 PM:

Luogo molto buon:) Buona fortuna!

# ... said on March 13, 2007 7:54 AM:

E evidente che il luogo e stato fatto dalla persona che realmente conosce il mestiere!

# ... said on March 15, 2007 5:50 PM:

luogo interessante, soddisfare interessante, buon!

# ... said on March 17, 2007 12:11 PM:

Lo trovo piuttosto impressionante. Lavoro grande fatto..)

# ... said on March 19, 2007 3:20 AM:

Stupore! ho una sensibilit molto buona circa il vostro luogo!!!!

New Comments to this post are disabled

Search

Go

This Blog

Syndication

Page view tracker