On Sun, 28 Feb 2010 14:18:50 -0800 Richard Newman <holyg...@gmail.com> wrote: > This is an interesting point, though -- does "unless" communicate > something slightly different to* "when not", despite being > functionally identical? And is the distinction important enough to > justify a move towards a confusing Rubyesque undergrowth of equivalent > syntactic sugar?
No, no, a thousand times no! Having seen the results of both TMTOWTDI and TOOWTDI, I vote for the latter, every time! This is fundamentally a documentation issue. Yes, a few dozen "Clojure for YXZZY programmers" help a little. But even better would be enhancing find-doc so that you could find "obvious aliases" like those. I.e. - (find-doc "unless") should turn up both if-not and when-not. > Probably not, although `unless` is really no different to `when`: they > both eventually expand into `if` forms. I'm not entirely sure where > the line should be drawn, or why I draw it where I do... inc <mike -- Mike Meyer <m...@mired.org> http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information. O< ascii ribbon campaign - stop html mail - www.asciiribbon.org -- 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