Preamble
So, I'm going through The C Programming Language
and this quote struck me:
Automatic variables, including formal parameters, also hide external variables and functions of the same name.
The example:
int x;
// x inside of f is different from external f.
void f(double x){}
TL;DR
This strikes me as something which is necessarily true of all languages (and it dates back to Lambda Calc.), and yet it makes it into this book. Is there an example where the most local definition of a variable does not override a more global definition?