[development] Proposed Apocrypha
Ivan Sergio Borgonovo
mail at webthatworks.it
Thu May 7 15:12:19 UTC 2009
On Thu, 7 May 2009 09:23:48 -0500
Jeff Eaton <jeff at 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.
If you want to make stuff swappable start at least with 3
implementations otherwise 2 will just be a special case of 1.
--
Ivan Sergio Borgonovo
http://www.webthatworks.it
More information about the development
mailing list