I like the concepts here, but I have to admit I'm a bit confused by the direction words like "up" and "down" and "deep" and "shallow", mainly because I've seen different people use the opposite directions when talking about a call stack.
If procedure A calls procedure B, is A upstream of B or downstream of B? Is A the shallow frame or is B the shallow frame?
I tend to think of B as the "deeper" part of the stack, but in a literal sense, a literal physical stack builds "upwards", so B is "higher" than A, one could say A is deeper down the stack than B is.
I like the concepts here, but I have to admit I'm a bit confused by the direction words like "up" and "down" and "deep" and "shallow", mainly because I've seen different people use the opposite directions when talking about a call stack.
If procedure A calls procedure B, is A upstream of B or downstream of B? Is A the shallow frame or is B the shallow frame?
I tend to think of B as the "deeper" part of the stack, but in a literal sense, a literal physical stack builds "upwards", so B is "higher" than A, one could say A is deeper down the stack than B is.