python vs. lisp (whereis quote?)
nbecker at fred.net
nbecker at fred.net
Tue Jul 20 08:10:13 EDT 1999
One feature of lisp (emacs lisp actually) that I think is pretty cool
is the "hooks". A hook is basically unevaluated code that will be run
by eval later.
I suspect python lacks this capability. As I understand it, the only
similar capability is "eval". But I think eval expects a string,
which it will then parse. While the capability is similar, having to
parse a string could be inefficient.
Am I correct that what is missing is the ability to postpone
evaluation using "quote"?
More information about the Python-list
mailing list