in reply to map in void context
is the use of map in a void context deprecated ?
I don't like map in void context, personally. There's for if you just want a loop. I think of map as returning a list, and if you're discarding the list, I wonder if there's something wrong. I think, "why didn't the programmer just use for?"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: map in void context
by JavaFan (Canon) on Dec 17, 2008 at 13:28 UTC | |
by kyle (Abbot) on Dec 17, 2008 at 16:05 UTC | |
by JavaFan (Canon) on Dec 17, 2008 at 16:29 UTC | |
by gwadej (Chaplain) on Dec 17, 2008 at 18:46 UTC |