That&#39;s dopry&#39;s first law...<br><br>
<div class="gmail_quote">On Thu, May 7, 2009 at 12:40 PM, James Gilliland <span dir="ltr">&lt;<a href="mailto:neclimdul@gmail.com">neclimdul@gmail.com</a>&gt;</span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div>
<div></div>
<div class="h5">
<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" target="_blank">jeff@viapositiva.net</a>&gt;</span> wrote:<br>
<blockquote style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt 0pt 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">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></div></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></blockquote>
</div><br>