CS 3304: Comparative Languages
Names and Binding
[
Course Documents
] : [
Names and Binding
]
Previous
Contents
Next
Keyword Index
Variable Hiding
Variables can be hidden from a unit by having a "closer" variable with the same name (closer == more immediate enclosing scope)
C++ and Ada allow access to these "hidden" variables (using fully qualified names)
Blocks are a method of creating static scopes inside program units--from ALGOL 60