[racket] Question about resolution of variable-name conflicts in namespaces

From: Sam Tobin-Hochstadt (samth at ccs.neu.edu)
Date: Wed May 15 19:46:07 EDT 2013

On Wed, May 15, 2013 at 4:19 PM, Neil Van Dyke <neil at neilvandyke.org> wrote:
>
> 1. You are using eval because you *necessarily* have arbitrary Racket code
> coming into your application from outside at run time?  Or because the
> libraries you are using seem to want you to use "eval"?  The former reason
> is legitimate, but rare.  If the latter reason, there should be a better
> way.  ("eval" is almost always a bad idea, except for when it's
> fundamentally necessary.  Do not be misled by gesticulating CS 101
> lecturers; they are talking about theory.)

I think there are genuine uses for things like `eval` to support
reloading code/plugins/templates as well, which always at least
implicitly involves `eval`.

Sam

Posted on the users mailing list.