Get the latest tech news
On eval in dynamic languages generally and in Racket specifically (2011)
_posted by Matthew Flatt_ The `eval` function is at the heart of a dynamic language, and it strikes many newcomers as an amazingly powerful tool. At the same time, experienced programmers avoid `eval`, because unnecessary use creates trouble. It's not ea...
because there could be all sorts of environmental conditions that make the result different—such as people who are willing to paint but unwilling to accept assumptions about their favorite colors. DrRacket’s interactions window has to use eval in the sense that it reads an expression to evaluate and then passes it on to the interpreter for an answer. More generally, to make various pieces of the environment fit together, DrRacket sets eval globally to use the module’s language while evaluating expressions in the interactions window.
Or read this on Hacker News