Keep It Simple, Stupid | |
PerlMonks |
Re: (almost) foldlby ikegami (Patriarch) |
on Jun 07, 2011 at 22:50 UTC ( [id://908594]=note: print w/replies, xml ) | Need Help?? |
One can simplify your implementation
such that one is left with a single splice and without the extra loop pass that necessitates // 0.
Of course, that's really just the same as
At which point, you a can give a better name to the variables you do create (despite claims to the contrary).
Finally, canonise.
In Section
Obfuscated Code
|
|