function v. method

danielx danielwong at berkeley.edu
Sat Jul 22 15:32:38 EDT 2006


Gerhard Fiedler wrote:
> On 2006-07-20 18:10:21, danielx wrote:
>
> >>> When supporting documents aren't sufficient to learn an api (I'm sure
> >>> this never happens, so just humor me), you can always turn to
> >>> interactive Python.
> >>
> >> ...and source code...
> >
> > *shudders* What happened to all the goodness of abstraction?
>
> Abstraction as you seem to use it requires complete docs of the interface.
> Which is what you said you don't have... So the original abstractor broke
> the abstraction when publishing insufficient docs, not the one who looks
> into the sources to find out what actually happens.

Absolutely. I didn't mean the user was breaking abstraction (let's not
blame the victim). I was saying that we should really have more
sympathy for him.

> 
> (This independently of the merits of abstraction.)
> 
> Gerhard




More information about the Python-list mailing list