7 May
2009
7 May
'09
5:12 p.m.
On Thu, 7 May 2009 09:23:48 -0500 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.
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