in reply to Re: why not listed foreach and if?
in thread why not listed foreach and if?
map is for transformation of a list of items, not iteration. Using it in void context like this (for the side effect throwing away the return values) is obfuscated code.
The cake is a lie.
The cake is a lie.
The cake is a lie.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: why not listed foreach and if?
by sectokia (Friar) on Jun 17, 2024 at 23:32 UTC | |
by Fletch (Bishop) on Jun 19, 2024 at 04:08 UTC |