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

From: Sean McBeth (sean.mcbeth at gmail.com)
Date: Wed May 15 23:03:57 EDT 2013

The Toubleshooting and Tips FAQ for Web-server indicates that this is the
case
http://docs.racket-lang.org/web-server/faq.html

It explains how templates are compiled into the program, and then at the
very end "If you insist on dynamicism, there is always eval."


On Wed, May 15, 2013 at 7:46 PM, Sam Tobin-Hochstadt <samth at ccs.neu.edu>wrote:

> 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
> ____________________
>   Racket Users list:
>   http://lists.racket-lang.org/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20130515/351b5204/attachment.html>

Posted on the users mailing list.