Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: How do you pronounce variable names?

by ikegami (Patriarch)
on Feb 18, 2008 at 16:47 UTC ( [id://668603]=note: print w/replies, xml ) Need Help??


in reply to How do you pronounce variable names?

If I'm showing code to someone, there's usually no need to pronounce the sigil at all (e.g. "friends has 2 elements"). I'd probably be more likely to say "scalar" and "array" for "$" and "@" in this situation. I might even call the variable by its value instead of by its name (e.g. "Then I 'draw' the circle." for $form->draw()).

If I'm dictating code, completeness and clarity is important, so I'd specify the symbols by name (e.g. "dollar friends equal 2 semicolon.").

Replies are listed 'Best First'.
Re^2: How do you pronounce variable names?
by holli (Abbot) on Feb 18, 2008 at 17:02 UTC
    Ok, I'll bite. When and under hat circumstances are you "dictating" code?


    holli, /regexed monk/
      When I'm writing code using Microsoft Speech Recognition. It goes something like this:
      me: my dollar sign t=1; computer: my dolls are singing tequila 1 semi goin;

      I'm not really a human, but I play one on earth. Cogito ergo sum a bum
      Yes, inquiring minds need to know. (Interviews, perhaps?)
      When discussing or teaching syntax

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2024-04-23 23:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found