What's better about Ruby than Python?
Alex Martelli
aleax at aleax.it
Thu Aug 21 02:30:07 EDT 2003
More information about the Python-list mailing list
Thu Aug 21 02:30:07 EDT 2003
- Previous message (by thread): What's better about Ruby than Python?
- Next message (by thread): What's better about Ruby than Python?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Andrew Dalke wrote: ... > (Need to use the function instead of a class with __call__ > so that the method gets bound correctly. And I believe You could use a class if its instances where descriptors, i.e. supported __get__ appropriately -- that's basically what functions do nowadays. See Raymond Hettinger's HOWTO on descriptors -- a *wonderful* treatment of the subject. Alex
- Previous message (by thread): What's better about Ruby than Python?
- Next message (by thread): What's better about Ruby than Python?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list