Can someone explain the joke? I know what stacks are but I don’t get it…
this post was submitted on 05 Jul 2023
67 points (100.0% liked)
Programmer Humor
421 readers
41 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 1 year ago
MODERATORS
He looks like he's guarding something? A sentinel value in an array-based stack implementation in C or something? I don't know, I'm a bit confused too.
Maybe it's something about not knowing if the last element is the top of the stack or the bottom of the stack?
Split the difference, it is the only element in a deque.
The last element in a queue: :D
I alughed at this more than I have any right to.
LIFO or FIFO hmmm