Consistency in any code base matters, so if you're going to thread, thread in similar scenarios.
For me it's kind of like coffee. It's an acquired taste. '(Devin Walters) On Mar 11, 2013, at 10:14 AM, "Jim foo.bar" <jimpil1...@gmail.com> wrote: > On 11/03/13 15:08, Dave Kincaid wrote: >> I'm with you. I don't like it personally. Every time I come across it >> reading code I have to stop and think about what exactly it does. > > I didn't use to like it either but after coding rubik's cube I've come to > appreciate it more...imagine this: > > > (-> cube > (rotate-left) > (rotate-up) > ... > ... > ... > ... > ... > ) > > In other words when you have serious nesting of similar actions, then it does > read a lot cleaner...now, having said that, you will find in several Clojure > books the same thing without any serious nesting (e.g: (-> m :some-key (+ > 1))). I guess for such occasions it is purely a mater of taste... > > Jim > > -- > -- > 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 > --- You received this message because you are subscribed to the Google Groups > "Clojure" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to clojure+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > > -- -- 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 --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.