[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [plt-scheme] eval question
--- Bruce Butterfield <bab@entricom.com> wrote:
> why it is
> considered evil (or at least bad form) to use eval outside of a top
> level REPL?
I think it is fine as long as you execute the quoted code in a fresh
environment. If you execute it in the same environment your program is
operating in, you can be in for some nasty surprises as it grabs your
local variables.
-m
=====
Morgan McGuire
morgan3d@yahoo.com
__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com