An aside: call by name
You should be aware of standard parameter passing mechanisms
- Call by value
- Make a copy of the actual to pass to the formal parameter
- Call by reference
- Have the formal actually point to the actual
- Call by result, call by value-result, etc.
ALGOL defined a rich, expensive and confusing mechanism, Call by Name