![]() |
|
Do you know where your variables are? | |
PerlMonks |
Re^4: Programming *is* much more than "just writing code".by bart (Canon) |
on May 09, 2007 at 12:05 UTC ( #614365=note: print w/replies, xml ) | Need Help?? |
[...] assuming that those subroutines were able to to be passed the 20 variables that are in scope...Any FORTH programmer would immediately jump at your throat for saying this. This is a red flag: if you need to pass around more than 3 variables, you're more than likely doing something wrong, in the realm of factoring. A simple function should never need more than just a few parameters.
In Section
Meditations
|
|