Eval'ing in Clojure

7 views
Skip to first unread message

Sukant Hajra

unread,
Oct 13, 2011, 12:24:16 AM10/13/11
to austin-c...@googlegroups.com
I doesn't take much Googling to find discussions about misunderstandings about
eval, especially in the context of Lisp. The top answer to a StackOverflow
post seems to cover the points I would make and more [1].

Learn how to use apply, funcall, and friends /first/. Then consider
user-defined macros (you're already using library-provided ones). And finally
consider eval. . . but by then you really may not have a need for it.

-Sukant

[1] http://stackoverflow.com/questions/2571401/why-exactly-is-eval-evil

Reply all
Reply to author
Forward
0 new messages