What's better about Ruby than Python?
adalke at mindspring.com
Thu Aug 21 09:19:28 CEST 2003
> You could use a class if its instances where descriptors, i.e.
> supported __get__ appropriately ... See Raymond Hettinger's
> HOWTO on descriptors -- a *wonderful* treatment of the subject.
I'm slowing easing my way into this new stuff. I read it through
once, but it didn't all sink in. Could you post an example of how
to use it for my cache example?
dalke at dalkescientific.com
More information about the Python-list