From: matz@... (Yukihiro Matsumoto) Date: 2002-11-27T17:59:50+09:00 Subject: Re: RCR: Stack, Queue alias methods in Array Hi, In message "Re: RCR: Stack, Queue alias methods in Array" on 02/11/27, Martin DeMello writes: |Well, it may not be intuitively obvious if you're not thinking in terms |of stacks, but all that that would need would be for the documentation |to say "the top of the array when viewed as a stack, i.e. the element |that 'pop' would return". It's not confusing in the sense that one would |keep forgetting what it meant and having to look it up (and not nearly |as confusing as rassoc, for instance). Again, if you weren't thinking in |terms of stacks, the usual way to visualise an array is horizontally, so |you'd never use 'top'. It just plugs the hole in the stack abstraction |neatly. "top" is too generic. One can think of arbitrary edge of an array, and I'm afraid too many guess wrong side. I did, for example. matz.