That's dopry's first law...<br><br>
<div class="gmail_quote">On Thu, May 7, 2009 at 12:40 PM, James Gilliland <span dir="ltr"><<a href="mailto:neclimdul@gmail.com">neclimdul@gmail.com</a>></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"><<a href="mailto:jeff@viapositiva.net" target="_blank">jeff@viapositiva.net</a>></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'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.<br>
<br>Eaton'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's just eaton's first law? ;)<br></blockquote>
</div><br>