DEV Community

Discussion on: I Translated Big Scary Tech Terms to Human so You Don't Have To

Collapse
 
kallmanation profile image
Nathan Kallman

I don't think your stack definition is quite right... you more described debugging.

A stack in general is no different than a stack of papers: you can see and access what's on top, but if you want something on the bottom, you first have to take off what's on top.

"The" stack (as in stack trace) is a particular stack recording how code got to the current line being executed (foo called bar called baz called fizz called buzz and on down the line)

Collapse
 
scroung720 profile image
scroung720

I would say she meant the 'call stack'

Collapse
 
akiramakes profile image
Akira

Exactly so. Thank you!

Collapse
 
jwkicklighter profile image
Jordan Kicklighter

Even so, a call stack isn't an action. I agree that the definition is a bit off. When someone is debugging code, they will interact with the stack. But the stack itself isn't the act of debugging.

Collapse
 
akiramakes profile image
Akira

Ooo, this is very helpful. I've been grappling with how exactly to explain stack. I certainly explained "stack" here as what is actually a "call stack". Thank you for the input!