You know, most of these terms come from real world meaning.
For example scope. One of it's definitions is:
the state of the environment in which a situation exists
Like looking through a scope. You can see only the parts which are within scope. The visibility part of scope in programming languages is a bit reversed though, the deeper you go, the more you can see, and nothing moves out of scope when zooming in. But zooming out, and moving the scope, will move things "out of scope".
A similar thing for heap, from the dictionary
a collection of objects laid on top of each other
Not to be confused with stack as a heap in unordered rather and neatly stacked. Like a heap of unfolded laundry.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
You know, most of these terms come from real world meaning.
For example scope. One of it's definitions is:
Like looking through a scope. You can see only the parts which are within scope. The visibility part of scope in programming languages is a bit reversed though, the deeper you go, the more you can see, and nothing moves out of scope when zooming in. But zooming out, and moving the scope, will move things "out of scope".
A similar thing for heap, from the dictionary
Not to be confused with stack as a heap in unordered rather and neatly stacked. Like a heap of unfolded laundry.