What's better about Ruby than Python?

Andrew Dalke adalke at mindspring.com
Thu Aug 21 09:19:28 CEST 2003


Alex:
> 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?

                    Andrew
                    dalke at dalkescientific.com






More information about the Python-list mailing list