http://www.perlmonks.org?node_id=920353


in reply to What makes good Perl code?

I've noticed that what a lot programmers think of as "dumb code" is actually a lack of techniques to reduce code duplication. Lambdas are unlikely to meet anybody's definition of "dumb code", but they are a powerful technique for removing redundancy.

Cleverness as an end to itself shouldn't be done outside of games like Perl Golf. Neither should cleverness be avoided when it helps manage complexity.


"There is no shame in being self-taught, only in not trying to learn in the first place." -- Atrus, Myst: The Book of D'ni.