Traits / Roles as Alternative to Abstract Base Classes
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 ....