From: William James Date: 2006-08-04T04:40:15+09:00 Subject: Re: New Ruby Culture T-Shirts! Matt Todd wrote: > Ruby culture t-shirts are available for purchase right now! > > http://www.spreadshirt.com/shop.php?sid=36444 > > == DESCRIPTION > > Inspired by has_and_belongs_to_none, I decided to make a few shirts > that I thought would be cool to have. I based a lot of the designs on > various things I've heard that struck me as cool. I'm sure I'm missing > lots of great stuff, but this is what a quiet afternoon will afford > me. > > All prices are as low as possible: I do not make a profit on any of > these. If there is enough positive feedback, I'd be happy to change $1 > more on each and donate that to RubyCentral (or retire early... hah). > Some shirts cost more because there is more to it: more lines of text, > more graphics, therefore making it more expensive to produce. Shirts > will cost anywhere from $12 to $22. > > == FEATURES > > Here are a few notable designs: > > * I Ruby (et al) > * A few region-based designs ("Atlanta Rubyist", etc) > * Quotes (from _Why The Lucky Stiff, etc) > * A few "Pragmatic" shirts > * Code snippets I see (1..10).collect {|x| x*x} This woud be better: (1..10).map {|x| x*x} The name "collect" tends to make one assume that it does what inject does. On the other hand, "map" describes what it does; it produces a one-to-one mapping. Furthermore, "collect" in Common Lisp does something different. OCaml and most if not all Lisp dialects use "map" as it is used in Ruby. And "collect" is longer. To me, it seems senseless to use it.