function pointers

Courageous jkraska1 at san.rr.com
Thu Apr 26 19:10:08 EDT 2001


>Indeed, being able to move around bound methods is one of the things
>that impressed me most about Python.

Yup. And for those of you not following the Evil Empire (tm),
C-sharp has an analogous structure called a "delegate".
This is an answer to the whole static-member-function-
dispatch-to-non-static-member-function lunacy that crept
into C++ as callbacks grew into favor. And it beats the hell
out of those spurious lunatical functor objects as well. :)

C//




More information about the Python-list mailing list