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

$a and $b are bad variable names anyway

by petdance (Parson)
on Feb 28, 2002 at 14:30 UTC ( #148221=note: print w/ replies, xml ) Need Help??

in reply to use strict won't require explicit name for all variables?

And really, you shouldn't be using $a and $b as variable names anyway. Surely there is something more descriptive than $a and $b (or $field1 and $field2, or whatever) that shows the meaning of what those variables do.

<megaphone> Throw down the gun and tiara and come out of the float! </megaphone>

Comment on $a and $b are bad variable names anyway
Re: $a and $b are bad variable names anyway
by Biker (Priest) on Feb 28, 2002 at 14:54 UTC

    I fullheartedly agree and I have told my co-worker so. As I mentioned in my earlier node, I wouldn't use such variable names at all.

    But the point was merely why we couldn't use the variable names as any variable name. Just imagine that in this specific case it did have a real meaning. (Which it didn't.)

    Everything will go worng!

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (9)
As of 2015-07-07 05:22 GMT
Find Nodes?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...

    Results (87 votes), past polls