Traits / Roles as Alternative to Abstract Base Classes

Posted by Unknown Selasa, 08 Mei 2007 0 komentar
While digging through the Python-3000 development list archives, trying to figure out the state of thought circling PEP’s 3119 and 3124, I came across this gem:“Traits/roles instead of ABCs”, by Collin Winter.With ABCs refererring to Abstract Base Classes (pep 3119).Winter’s proposal is similar to my recent post, which is that this sort of “capability inference” should be dynamic, and not bound to...

Baca Selengkapnya ....

ABC may be easy as 123, but it can't beat zope.interface

Posted by Unknown Jumat, 04 Mei 2007 0 komentar
I guess the deadline may have come and gone for getting in PEPs for Python 3000. Guido’s already written up a PEP Parade.Of particular interest to me has been the appearance of PEPs for Abstract Base Classes (PEP 3119) and the more exhaustive PEP 3124 which covers “Overloading, Generic Functions, Interfaces, and Adaptation.”Both of these aim to provide ways of saying “this is file-ish”, “this is string-ish,”...

Baca Selengkapnya ....
Trik SEO Terbaru support Online Shop Baju Wanita - Original design by Bamz | Copyright of apk zipalign.