Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re: Re: Tact and the Monastery

by helgi (Hermit)
on Sep 17, 2002 at 11:46 UTC ( #198460=note: print w/replies, xml ) Need Help??

in reply to Re: Tact and the Monastery
in thread Tact and the Monastery

I'm with you on this one kschwab.

I certainly try not to use too many temporary, intermediate variables, but I do if they add to readability for a future maintainer of the code.

My basic criteria for using a temporary variable is this:
If I can think up a meaningful, transparent name for it, I can use it.

For example, in your case, @chars and $salt are both meaningfully named, thus allowed. What I would not allow would be @array and $foo for the same variables.

Helgi Briem

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (12)
As of 2016-10-25 18:49 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (326 votes). Check out past polls.