Excerpts from Ben Mabey's message of 2012-07-11 09:08:08 -0700:
> About 90% of the time I have used dynamic binding I have regretted it. You
> have to worry about binding conveyance (e.g. across threads- although 1.3
> fixed this)  and it can allow for harder to reason about code. As a user of
> your library I'd prefer a function that I could pass the template in along
> with a map of variables to be subbed in. I imagine the other clojure
> mustache libraries provide such an API, but I've never used them so I can't
> say for sure.

Ok. I think it's easy enough for me to provide a helper function that will
fill this behavior in for the dynamic binding, which maybe is the best of
both worlds (since I like the idea of allowing flexibility in how you fill
the data).

Thank you, anyways, for the great comments. Exactly what I was hoping for.

-- 
William <wmor...@masanjin.net>

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