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

Re: How do you pronounce variable names?

by CountZero (Bishop)
on Feb 18, 2008 at 17:40 UTC ( [id://668621]=note: print w/replies, xml ) Need Help??


in reply to How do you pronounce variable names?

In the Perl course I teach, it is definitely "scalar somescalar", "array odds", "hash table", ... and also "scalar underscore" and "array underscore", which nicely links them together as a "defaulty" type of variables.

Things like $odds[3] and $table{'John'} become "the scalar element with index 3 of the array odds" and "the scalar element with key 'John' of the hash 'table'". I know it is a bit long in the mouth, but it is a course for Perl newbies.

CountZero

A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (2)
As of 2024-04-24 23:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found