note 30873 deleted from function.array-push by alindeman

From: Date: Tue, 01 Apr 2003 21:38:02 +0000
Subject: note 30873 deleted from function.array-push by alindeman
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-46098@lists.php.net to get a copy of this message
The entry of "12-Dec" re: use of the term "stack" vs. "queue" should be deleted. This note is entirely wrong and apt to mislead the naive. The difference between a stack and a queue is that a stack adds and removes at the same end, while a queue adds at one end and removes from the other. As for any underlying data structure, such as an array: whether an implementation of "push" operates on the top/bottom/front/back of that data structure is entirely arbitrary. ~mark

« previous php.notes (#46098) next »