Hi,

passing thunks and macros are not mutually exclusive. with-bindings and 
with-bindings* are an example you gave yourself. I often use this style with a 
convenience macro and a driver function. Benefits besides the named drawbacks 
are reduced code size (depending on number of calls vs. class size for the 
additional thunk) and - in my eyes very nice - you can easily reload the driver 
function and all call sites see the new function without recompilation. And 
still have the convenience of macros.

Which way to go with macros depends on the circumstances and the corresponding 
trade-offs.

Sincerely
Meikel

-- 
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