<div class="gmail_quote">On Thu, May 7, 2009 at 9:23 AM, Jeff Eaton <span dir="ltr">&lt;<a href="mailto:jeff@viapositiva.net">jeff@viapositiva.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Crell&#39;s Law: If an API must be use-case-optimized, make it swappable &amp; tailor the default for cheap shared hosting. High-end sites can swap.<br>
<br>
Eaton&#39;s Corollary: If an API is swappable, write two implementations. APIs with one test case are rarely flexible enough for the second.<br><font color="#888888">
<br>
--eaton<br>
</font></blockquote></div>As I noted on IRC when this was mentioned, maybe there should be another law.<br><br>Drupal Law 0: If you need to do something, make an API for it first.<br><br>Or maybe that&#39;s just eaton&#39;s first law? ;)<br>