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?? |
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.").
In Section
Seekers of Perl Wisdom
|
|