On Thu, May 7, 2009 at 9:23 AM, Jeff Eaton <jeff@viapositiva.net> wrote:
Crell's Law: If an API must be use-case-optimized, make it swappable & tailor the default for cheap shared hosting. High-end sites can swap.

Eaton's Corollary: If an API is swappable, write two implementations. APIs with one test case are rarely flexible enough for the second.

--eaton
As I noted on IRC when this was mentioned, maybe there should be another law.

Drupal Law 0: If you need to do something, make an API for it first.

Or maybe that's just eaton's first law? ;)