From: Eleanor McHugh Date: 2009-03-06T06:24:08+09:00 Subject: Re: Any solutions to Ruby's inconsistencies? On 5 Mar 2009, at 20:40, Todd Benson wrote: > On Thu, Mar 5, 2009 at 10:52 AM, C. Dagnon rubyforum@dagnon.net> wrote: >> Interesting... I hadn't learned about the *ect's. I have used >> collect >> (never map, yuck), > > Hmm, let me think about that method name... you are "mapping" a set of > things into another set (I'm using "set" for a simple group of > things); "collect" makes much less sense to me. What exactly are you > collecting? Probably just vernacular used in CS circles that I'm not > aware of, but silly nonetheless. Collect makes much more sense to me than map as I'm collecting a bunch of results and storing them in an array. But the great thing about Ruby is that whichever makes sense, you can use it - and if neither makes sense you can add your own alias :) Ellie Eleanor McHugh Games With Brains http://slides.games-with-brains.net ---- raise ArgumentError unless @reality.responds_to? :reason