
April 29, 2022
8:51 a.m.
On Fri, 29 Apr 2022 at 18:39, Greg Ewing <greg.ewing@canterbury.ac.nz> wrote:
On 29/04/22 6:02 am, Zach Victor wrote:
For me, pop() says "give me something."
In English the word "pop" doesn't necessarily imply getting something wanted, or even getting anything at all. Think popping a champagne cork, or popping a balloon.
Yeah, but if you do any stack-based programming, you get used to pushing and popping everything, so the idea that "pop" means "remove that thing and give it to me" has a good parallel. ChrisA