Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

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

by parv (Priest)
on Mar 28, 2007 at 08:42 UTC ( #606939=note: print w/replies, xml ) Need Help??


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

The return statement is perfectly understandable from my point of view. There is nothing tricky|useless thing there if, as presented, most often the result is assigned to an array (or, list variables). If the end result will be assigned to a hash, presence of a fat comma in the left most map may give a hint (to the "non-initiated").

(A few minutes later: Let's try to find out the extent of my ability to write about the usage of fat comma as obliquely as possible.)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (4)
As of 2016-10-01 21:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?






    Results (8 votes). Check out past polls.