Eval gets a bad reputation from languages like JS where it's messy and a
bit of a security risk. In Clojure, there's nothing wrong with using eval
for something like this.
On Tue, Nov 7, 2017 at 11:43 PM, Nick Mudge
wrote:
> I need to dynamically reify some java interfaces based on data from a
>
I need to dynamically reify some java interfaces based on data from a map.
One way I can see to do this is to generate the reify code with a function
using syntax quotes, quotes and unquote and unquote splice. And then
evaluate it using eval. I hesitate using eval, but is eval the right tool