this post was submitted on 05 Jul 2023
95 points (90.6% liked)

Programmer Humor

19315 readers
1 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

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] bronzing@lemmy.fmhy.ml 6 points 1 year ago (7 children)

Can someone explain the joke? I know what stacks are but I don’t get it…

[–] Gentoo1337@sh.itjust.works 4 points 1 year ago* (last edited 1 year ago) (3 children)

It's the last element, so it has to wait for all the other elements on top of it to be popped in order to be accessed

I think op meant last as in the element on the bottom

[–] alexcoder04@programming.dev 3 points 1 year ago (1 children)

Yea, I meant the last element as in the one at the bottom, but now I see that it‘s a little confusing…

[–] Gentoo1337@sh.itjust.works 1 points 1 year ago

Yea I also thought the last one was the bottom one but then I remembered it was lifo

load more comments (1 replies)
load more comments (4 replies)