Am 01.12.2009, 17:08 Uhr, schrieb Lennart Regebro <rege...@gmail.com>:
> I'm +1 for 5.
"wot he said" x 10 :-)
The video + audio to scart example struck me last night and providing
expressive(?) examples of this to match so that one is less easily caught
by tuples as arguments is a doddle.
cables = (audio, video)
connector = IScart.adapt(cables, "HDTV")
Assuming I haven't got totally the wrong end of the stick this shouldn't
Now, do we have any similar simple but expressive analogy for utilities?
ISoapDispenser.utility().dispense() # agained, spelled out for clarity
seeing as that's all the utility does.
I hope my analogies aren't too far off the mark. Helps me a lot not to
think about what's really going on.
Clark Consulting & Research
Zope-Dev maillist - Zope-Dev@zope.org
** No cross posts or HTML encoding! **
(Related lists -