Yeah, I was being a bit too glib. One of my favorite things about Clojure is definitely what you mention.
As for the matter at hand, the name 'reductions' is perhaps more descriptive but the con is that it less standard and almost three times as long as 'scan'. The importance of descriptiveness in names is often overstated. Someone who has never seen this function before might perhaps see the name and correctly guess a relationship of some sort with 'reduce'. But that does not help him much in his quest to understanding the code if he has no experience with scans. I find recognizability and memorability is usually a more important metric. Anyway, I don't want to derail this thread any further. :) -Per On Sat, Mar 20, 2010 at 10:16 PM, Meikel Brandmeyer <m...@kotka.de> wrote: > Hi, > > On Sat, Mar 20, 2010 at 09:50:12PM +0700, Per Vognsen wrote: >> Aha! I Googled for scan in seq-utils and didn't find anything. It >> would be nice if people stuck to standard terminology that has a >> continuous history going back to the early 60s. > > So we use names like car and cdr? This is one of my favorite > non-technical points pro clojure: It blows of the musty smell of the > last 50 years. > > (Whether scan falls in this category is a different question. But "the > others use bad names, so we should too" is not a good argument.) > > Sincerely > Meikel > > -- > 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 > > To unsubscribe from this group, send email to > clojure+unsubscribegooglegroups.com or reply to this email with the words > "REMOVE ME" as the subject. > -- 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 To unsubscribe from this group, send email to clojure+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.