Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

$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

Replies are listed 'Best First'.
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (2)
As of 2018-05-21 00:11 GMT
Find Nodes?
    Voting Booth?