let's call it the "biased experience effect". if there are 20 ways to solve a problem, and you just know 3 of them, you are a hammer and the problem looks like a nail. if you have a broader knowledge, you can pick a more appropriate solution. what i claim is that if you know NO solutions, the one you'll come up with will most likely be better than the one you come up with if you know 3 solutions because you are not biased.
2012/1/18 Baishampayan Ghose <b.gh...@gmail.com> > On Wed, Jan 18, 2012 at 3:16 AM, James Reeves <jree...@weavejester.com> > wrote: > > To borrow from Stuart Halloway: simplicity ain't easy. > > +1. Simplicity comes with experience. > > Nevertheless, my entry - > > (defn odd-occurrences [coll] > (for [[k v] (frequencies coll) :when (odd? v)] > k)) > > Regards, > BG > > -- > Baishampayan Ghose > b.ghose at gmail.com > > -- > 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 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