From: William James Date: 2008-03-06T02:19:58+09:00 Subject: Re: collect with index? On Mar 5, 11:00 am, James Gray, Junior wrote: > On Mar 5, 2008, at 10:54 AM, William James wrote: > > > On Mar 5, 5:55 am, Tim Conner wrote: > >> simple question: how can I do a collect with index? > > > You mean "map with index". > > Why? collect() is an alias for map()? Some favor one, some the other. Some actually favor drinking urine. That doesn't make it right. "map" describes what is done; "collect" does not, and is consequently misleading. What if "pick_and_choose" were an alias for "map"? Would it make sense to use it? No, it wouldn't. It doesn't describe what is being done. "map" is shorter and clearer. There's every reason to use it and no reason not to use it. Just as "junior" is preferable to "the second". > > There was no problem with the request. Then there's no problem with "junior". > > James Gray, Junior