|
Dumitru Ungureanu |
at Oct 18, 2012 at 7:41 pm
|
⇧ |
| |
This is, again, interesting, but it has the down effect (or maybe an up
effect) of losing the shadowing capabilities for vars. Shadowing makes for
cleaner to read code, once you get the hang of it.
Plus, it protects your creative side from being wasted on hunting for
distinct names on global vars after global vars after global vars. :)
On Thursday, October 18, 2012 9:27:40 PM UTC+3, Andy Balholm wrote:
Or, again depending on exactly what you're trying to do, use global
variables instead of local ones :-). This is equivalent to using static
variables in C; I'm not sure if it's the same as "save" in Fortran.
--