Oppinions on map vs collect
- From: Gary Watson <pfharlock@xxxxxxxxx>
- Date: Mon, 05 Dec 2005 07:58:18 -0500
I've been using collect in all my programs up till now, and I recently discovered that the map function is equivalent. My question is, (and I know that it really doesn't matter), which is more correct to use if you're trying to stick to doing things ruby's way? What do people on this newsgroup generally prefer using?
Thanks in advance for you oppinions. .
- Follow-Ups:
- Re: Oppinions on map vs collect
- From: Daniel Schierbeck
- Re: Oppinions on map vs collect
- From: *** Davies
- Re: Oppinions on map vs collect
- Prev by Date: Re: Ruby debuger on Windows
- Next by Date: Re: [QUIZ] Weird Numbers (#57) Solution
- Previous by thread: Ruby debuger on Windows
- Next by thread: Re: Oppinions on map vs collect
- Index(es):
Loading