In Lisp, code is data. What benefit does that provide?
问题 In Lisp, any program's code is actually a valid data structure. For example, this adds one and two together, but it's also a list of three items. (+ 1 2) What benefit does that provide? What does that enable you to do that's impossible and/or less elegant in other languages? 回答1: To make things a little clearer with respect to code representation, consider that in every language code is data: all you need is strings. (And perhaps a few file operations.) Contemplating how that helps you to