I have used the isBlank example in presentations. It's not a bad starting point. Might look at how it could be used in a workshop. Thanks.
On Thursday, 20 December 2012 17:16:19 UTC+1, Thomas wrote: > > If you need to touch on the why of Clojure I found the example in the > beginning Stuart Halloways book quite a good one. the isBlank in Java and > the one line blank? equivalent in Clojure. Show them the Java, talk it > through with them and then highlight some of its downsides (multiple if > statements, the loop, local variables, the fact that the two statements in > the first if with can only be ordered in that way etc). and then show them > the clojure code, talk them through that and show them what it better (even > if functionally completely equivalent) about it. > > just a thought, > > Thomas > -- 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