Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Should I leave behind beautiful code or readable code?

by ferreira (Chaplain)
on Mar 28, 2007 at 10:57 UTC ( #606976=note: print w/ replies, xml ) Need Help??


in reply to Should I leave behind beautiful code or readable code?

"Beauty is in the eye of the beholder." For those who live as professional programmers, beauty as a consuming passion that disappears in a few days and leave nothing but a sense of emptyness is not a top priority, I think. Beauty needs a more pragmatic approach, something that makes it more close to code that works and that can be changed without hair-pulling. It is not that fugacity that dazzles, it is more like that brightness that stands. In this case, pride should be on getting things permanent and not in such a way that gives other people headache.

After all, maybe you should try something like this

sub MySub { ...some stuff... return map { split(/ /,$_,2) } map { uc } @somearray; }
Not that big deal, but more everlasting as a good memory.


Comment on Re: Should I leave behind beautiful code or readable code?
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (9)
As of 2014-10-31 18:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (223 votes), past polls