Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Favorite Descriptive Variable Name

by Lexicon (Chaplain)
on Dec 25, 2000 at 11:03 UTC ( [id://48250]=note: print w/replies, xml ) Need Help??


in reply to Favorite Descriptive Variable Name

I really like $foo when discussing code theoretically, but I never use it for actual programming. I frequently throw in $myInt's or such for quick things. In most other languages, I will usually label arrays as such, i.e.
var clientArray = new Array();
but this is of course redundant in Perl, which is nice because adding "Array" onto the end of a half dozen variables eventually takes up a lot of valuable horizontal space.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (2)
As of 2024-06-22 07:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.