New to Python: Features
Richard Blackwood
richardblackwood at cloudthunder.com
Tue Oct 5 11:07:51 EDT 2004
Alex Martelli wrote:
>Cameron Laird <claird at lairds.us> wrote:
> ...
>
>
>>>>31. Concepts of Protocols (whereby one may organize related methods into
>>>>
>>>>
> ...
>
>
>>>No. Test-driven development is the norm in Python.
>>>
>>>
>> .
>>... but see <URL: http://www.pypackage.org/packages/python-dbc >
>>for one among several DbC initiatives.
>>
>>
>
>...and PEP 246 for Protocols (and more relevantly, pluggable
>adaptation). Eby's PyProtocols implements these ideas (and more); my
>talk given earlier this year at OSCON (on masquerading and adaptation
>design patterns in Python) has a short section on PEP 246, you should
>find the PDF at www.strakt.com.
>
>
>Alex
>
>
Oh great, Python has nearly everything, you just have to add on
modules. Not bad, pretty cool actually. If use this PyProtocols will
my program be slower than if protocols were built-into the language?
More information about the Python-list
mailing list