"Variable Capture" (a common problem with unhygenic macros) can
introduce defects in your code.

Wikipedia has some info on it -
https://en.wikipedia.org/wiki/Common_Lisp#Variable_capture_and_shadowing

For more, you should take a look at "On Lisp" by Paul Graham.

Regards,
BG

On Tue, Sep 18, 2012 at 12:33 PM, Alex Dowad <alexinbeij...@gmail.com> wrote:
> In his talk entitled "(not= DSL macros)", C. Grand recommends designing the
> core of a DSL with "capturing" rather than binding, then adding binding
> macros as an extra layer on top if desired.
>
> I'm trying to understand what exactly he means by "capturing" in this
> context. I'm familiar with the use of the word "capture" to describe what
> lexical closures can do with variables from the surrounding scope, and also
> to describe what non-hygienic macros can do with variables from the
> surrounding scope, but it seems he's referring to something else here. A
> Google search doesn't bring up anything enlightening. Can anyone offer a
> brief explanation?
>
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with your
> first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en



-- 
Baishampayan Ghose
b.ghose at gmail.com

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to