Skip to main content
12 events
when toggle format what by license comment
Nov 17, 2018 at 7:36 comment added ItamarG3 @EllenSpertus If that's a pun, I like it. If it's unintended, then I'll say this: My answer isn't meant to trigger anyone.
Nov 17, 2018 at 1:56 comment added Ellen Spertus Some people might find your example triggering.
Jul 19, 2017 at 11:59 comment added ItamarG3 @JamesMcLeod bullets are not identical in the sense that calling the java .equals() would return false. They are instances of Bullet, but are no more the same than two people.
Jul 19, 2017 at 11:23 comment added James McLeod Since the bullets are identical to each other, this analogy loses me. Although a stack matches the physical mechanism it is more complicated than necessary to model the purpose of the magazine.
Jun 18, 2017 at 17:32 comment added Phoenix I would definitely mention the browser's back button. It provides a non-metaphorical example, that's easy to understand, and demonstratively proves that stacks are useful in programming.
Jun 18, 2017 at 16:05 comment added user737 Tracing links and the Undo operation should be familiar examples.
Jun 18, 2017 at 12:59 comment added ItamarG3 @YotamSalmon edited the answer :)
Jun 18, 2017 at 12:56 history edited ItamarG3 CC BY-SA 3.0
added 726 characters in body
Jun 18, 2017 at 12:44 comment added ItamarG3 @YotamSalmon then you should write that in your question. I'll edit my answer soon.
Jun 18, 2017 at 12:41 comment added Yotam Salmon Of course, but that's the definition of the stack. I'll definitely explain that as an origin to the name of the stack, but I need some use-cases for programming and life. (I hope I'm clear enough)
Jun 18, 2017 at 12:06 history edited ItamarG3 CC BY-SA 3.0
added 637 characters in body
Jun 18, 2017 at 11:54 history answered ItamarG3 CC BY-SA 3.0