207
|
1 |
-*- mode: outline; coding: utf-8 -*-
|
|
2 |
|
|
3 |
* Caller vs callee.
|
|
4 |
|
|
5 |
If routine A calls routine B then routine A is the caller and routine B is the
|
|
6 |
callee. i.e. the caller is the routine which is calling the callee.
|
|
7 |
|
|
8 |
The routine that initiates the call is the caller and the routine that is
|
|
9 |
being called is is the callee.
|
|
10 |
|
|
11 |
* Argument vs parameter.
|
|
12 |
|
|
13 |
From the perspective of the caller the thing which is passed is an argument.
|
|
14 |
From the perspective of the routine that receives the call, i.e. the callee,
|
|
15 |
the thing which is passed is a parameter.
|