On Jul 10, 7:15 am, Michael Gardner <gardne...@gmail.com> wrote: > > I think Christian wanted to know *why* one "should" eliminate recur. I can't > think of a reason to avoid it myself, though I also don't recall hearing any > recommendations against using recur.
Just my two cents, but the main reason to consider map/doseq/reduce/ filter etc in favor of loop/recur is that if your algorithm matches one of the former, you'll need a little less boiler-plate code (sometimes), makes it easier to use/create lazy sequences and (most importantly) using map/doseq etc when appropriate conveys a lot of information about the structure of the algorithm and its input/output expectations to the human reader. -- 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