From: "John W. Krahn" <[EMAIL PROTECTED]> > Mark Anderson wrote: > > > > B) You should NEVER use map in a void context. map works very hard > > to build up it's return value, so there should be an assignment > > (=) operator to the left of your map call almost always, > > otherwise all of that work is wasted. > > I would never say NEVER as there are some situations where it may be > appropriate, just like there are some situations where goto is > appropriate.
Care to give an example? IMHO, map{}() in void context should always be for(){}. Jenda ===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz ===== When it comes to wine, women and song, wizards are allowed to get drunk and croon as much as they like. -- Terry Pratchett in Sourcery -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]