Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: What makes good Perl code?

by hardburn (Abbot)
on Aug 15, 2011 at 20:58 UTC ( #920353=note: print w/ replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://920353]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (8)
As of 2016-06-25 06:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (323 votes). Check out past polls.