Perl Monk, Perl Meditation | |
PerlMonks |
Re^2: Joining Arrays?by graff (Chancellor) |
on Dec 21, 2008 at 03:52 UTC ( [id://731848]=note: print w/replies, xml ) | Need Help?? |
There's something about nested maps that strikes me as unsavory. Sure, there's nothing syntactically wrong with it, but then there's nothing syntactically wrong with a sentence like "The cat the dog the man hit bit died."
In the case of nested maps, keeping track of what each $_ is holding involves an extra cognitive load. It's simply that it takes the reader a fair bit longer than normal to figure out the intent, and for that reason, I'd prefer to avoid it.
In Section
Seekers of Perl Wisdom
|
|