Hi,

In message "Re: RCR: Stack, Queue alias methods in Array"
    on 02/11/26, Nikodemus Siivola <tsiivola / cc.hut.fi> writes:

|On Tue, 26 Nov 2002, Yukihiro Matsumoto wrote:
|
|> top      "top" returns last item?  probably confusing.
|
|But that confusion is exactly the reason why it is needed: unless a builtin
|Stack class is introduced: without it there is always a 1-minute head
|scratching break to remember which end push operates on.

But still, array is array.  If you see "top" being last without
knowing arrays can behave as stacks, the confusion is far stronger
than lacking "top".

							matz.