Queue push/pop

Tony Garnock-Jones tonyg at lshift.net
Wed Jan 4 03:41:55 PST 2006


(triggered by the changes to the process code to use push/pop instead of
addLast/removeFirst)

I don't like these names. Push and pop to me mean stack-like, LIFO
behaviour. Using them to mean FIFO behaviour seems weird.

(Might be interesting to consider adopting the Perl/Python/Javascript
idiom of push/pop, shift/unshift pairs? Hmm.)

Tony
-- 
 [][][] Tony Garnock-Jones     | Mob: +44 (0)7905 974 211
   [][] LShift Ltd             | Tel: +44 (0)20 7729 7060
 []  [] http://www.lshift.net/ | Email: tonyg at lshift.net




More information about the Slate mailing list