Functional programming
python中进行functional programming是非常容易的,因为python中functions are first class citizen。
How do I pass a method as a parameter in Python
看了这些回答,这个具有启发意义:https://stackoverflow.com/a/706744 ;
functions (and methods) are first class objects in Python。