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

$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.

xoxo,
Andy
--
<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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2014-09-01 23:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (18 votes), past polls