On Sun, 07 Jun 2009 16:46:23 -0700, Raymond Hettinger wrote: > We factor code > to eliminate redundancy, but that is not always a good idea with an API. > The goal for code factoring is to minimize redundancy. The goal for API > design is having simple parts that are easily learned and can be readily > combined (i.e. the notion of an iterator algebra).
Wonderfully said! That has articulated something which I only recently came to appreciate, but couldn't put into words. -- Steven -- http://mail.python.org/mailman/listinfo/python-list