Re: kick-off

From: Date: Mon, 28 Feb 2000 22:30:49 +0000
Subject: Re: kick-off
References: 1  Groups: php.pear 
Request: Send a blank email to php-pear+get-19@lists.php.net to get a copy of this message
Quoting "Stig S. Bakken" <ssb@fast.no>: > Should PEAR contain classes and extensions only, or functions too? By > using the Class::method() syntax, functions can be made part of a class > but still be available directly, so I lean towards using only classes. I agree that using classes is cleaner namespace-wise. The only thing that it sort of prevents is writing packages that are backwards compatible to php3. I guess that's a policy decision - do we want to really push people to upgrade to 4? If so, then make Pear 4-only and accumulate as many classes into it as possible. If not, then maybe some consideration should be made for having function packages as well. Also, here's a consideration: Can you pass a method name to usort() yet? If not, we'll have to allow at least sorting functions... -chuck

« previous php.pear (#19) next »