Making the case for repeat
steve at REMOVE-THIS-cybersource.com.au
Mon Jun 8 04:09:36 EDT 2009
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.
More information about the Python-list