Re: LIFO package?

From: Date: Tue, 23 Mar 2004 12:37:57 +0000
Subject: Re: LIFO package?
References: 1 2 3  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-26675@lists.php.net to get a copy of this message
<quote who="Philippe Jausions (11abacus.com)"> >> Isn't that just a wrapper around "array_*" methods? Like array_push(), >> array_pop(), count(),... > Yes, basically. It allows to stack things from anywhere since I'm using > a static class method. This enables me to have several classes working > on the same stack without having to create an object, global variable... > The stack is also multipurpose, because the FIFO class manages several > stacks in parallel. Hi! In generally that sounds not bad to me. But a package containing 1 single class implementing a simple stack is not the way to go in PEAR, IMHO. I would preffer to have package containing more of this "standard", "advanced" datatypes realized in PHP e.g. queue, lists, linked lists, and so on. Regards, Toby -- Tobias Schlitt a passion for php http://www.schlitt.info

« previous php.pear.dev (#26675) next »