On Sat, Jul 9, 2011 at 8:58 AM, Christian Marks <9fv...@gmail.com> wrote:

>
> I'm using recur, however some clojure programmers inform me that recur
> "should" be eliminated in favor of doseq or fold. I see nothing wrong
> with recur myself--am I missing
> something?
>
>
If there is an obvious way to rewrite the code using doseq or fold (or
reduce or map or etc), then yes- you should do it.  However, if this way to
rewrite the code isn't obvious in 10 seconds of thought, don't worry about
it. Use loop/recur.  The goal is clear, concise code- not blind obedience to
aphorisms.

Brian

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