laziness, impatience, and hubris | |
PerlMonks |
Re^3: random variable declaration based on given countby kcott (Archbishop) |
on Mar 26, 2014 at 17:52 UTC ( [id://1079844]=note: print w/replies, xml ) | Need Help?? |
"As a matter of fact, I wonder where newcomers come up with the tendency to gravitate toward symbolic references. They're not a part of the languages I grew up with such as ..." Given that a large proportion of these sort of questions seem to have declarations like:
I wonder if this is the result of learning array emulation in languages that don't support arrays. Here's a rather contrived Bourne shell (circa 1978) example:
I've encountered more recent scripting languages (i.e. from this millenium) which don't support arrays and emulate them in much the same way by tagging a number (index) onto a base variable name. -- Ken
In Section
Seekers of Perl Wisdom
|
|