|
|
|
|
|
by showell30
5286 days ago
|
|
You are correct that variable scoping goes all the way to the top, but nobody is forcing you to create top-level variables with overloaded names like "log". Seriously, if you have a file that uses log files and logarithms, just take some care to distinguish the concepts. Use "log_file" for log files; use "logarithm" or "Math.log" for inverse exponentation. |
|
Just clarifying; are you actually suggesting this, or was that sarcasm?