Re: [VOTE] Abstract final / Static classes

From: Date: Fri, 19 Dec 2014 10:09:54 +0000
Subject: Re: [VOTE] Abstract final / Static classes
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-79815@lists.php.net to get a copy of this message
Hi Pascal, I said this earlier, but considering purely namespaced functions and autoloading is not the same as static classes. Namespaced functions doesn't have support for variables and that's a huge strike against it and in favor of static classes. Cheers, On Thu, Dec 18, 2014 at 6:54 PM, Pascal Martin, AFUP < mailing@pascal-martin.fr> wrote: > > On 12/12/2014 17:12, guilhermeblanco@gmail.com wrote: > >> Patches are now complete and voting phase starts now and will be active >> until 12/19/2014. >> >> https://wiki.php.net/rfc/abstract_final_class >> > > Hi, > > After speaking about this RFC with other members of AFUP, we would be on > the -1 side for this. > > Summarizing our thoughts : > * static classes should not be encouraged > * if the goal is to have a set of utility functions, they can be set up > in a namespace -- being able to autoload functions could prove useful, > though. > > -- > Pascal MARTIN, AFUP - French UG > http://php-internals.afup.org/ > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Guilherme Blanco MSN: guilhermeblanco@hotmail.com GTalk: guilhermeblanco Toronto - ON/Canada

« previous php.internals (#79815) next »