Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

New Terminology for Stacks

Name: Cudder !MhMRSATORI!fR8duoqGZdD/iE5 2013-11-25 8:29

I hereby declare that any discussion of stack data structures shall use the following terminology to avoid further confusion:

Mouth - where items are pushed into and pulled out of.
Cap - the "closed" end of the stack.
Pull - to remove an item from the mouth of the stack.
Push - to insert an into into the mouth of the stack.

No more confusion over the fact that the "bottom" of a downwards-growing stack is actually at the highest address, or the top being at the lowest address. "Top" and "bottom" have connotations related to height/size/value, which suggest an orientation, but "mouth" and "cap" have no real orientation.

Name: Cudder !MhMRSATORI!fR8duoqGZdD/iE5 2013-11-25 8:36

The following are suggested comparison adjectives in referring to the relative location of items in the stack:

Mouthest - the item at the mouth, the most recent item pushed.
Cappest - the item at the cap, the least recent item pushed.
Mouther - closer to the mouth.
Capper - closer to the cap.

Name: Anonymous 2013-11-25 9:21

nobody cares, this board is dead

reddit, /jp/, the other site or /g/ will hear you

Name: Anonymous 2013-11-25 13:34

STACK MY ANUS

Name: Anonymous 2013-11-25 15:05

Mouth?
Are you bulimic or something?
Would work for queues... but stacks?

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List