Re: Re: CS changes for PHP5? was Re: [PEAR-CVS] cvs: pear(ZEND_ENGINE_2) /XML_Transformer

From: Date: Sun, 19 Jan 2003 11:57:41 +0000
Subject: Re: Re: CS changes for PHP5? was Re: [PEAR-CVS] cvs: pear(ZEND_ENGINE_2) /XML_Transformer
References: 1 2 3  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-12597@lists.php.net to get a copy of this message
I also think we should leave the underscore in front of private properties Without the underscore you would have to always look up if it's private or not... thats the main reason of using the underscore, so you know it's a privat. PHP4 just didn't have real privates, so we just used it as it's "private" PS: funny 3 times "it's" exactly under each other... On Sun, 19 Jan 2003 05:03:08 +0100 Wolfram Kriesing <lists@kriesing.de> wrote: > please leave the private members with underscore > as Alan says it enhances readablity! > > Alan Knowles wrote: > >> > >> > >> - var $_caseFoldingTo = CASE_UPPER; > >> + private $caseFoldingTo = CASE_UPPER; > >> > >> > >> > > Interesting dropping the $_ prefix on privates.. - while it is a little > > throwback to PHP4 not having real privates, it did have heratige in the > > hungerian (or whatever it's called) naming strategy.. - and does enhance > > program readiblity... > > > > Is the plan to drop this bit of the code standards for PHP5? (I for one > > would miss it :) > > > > Regards > > Alan > > > > > > > > > > > -- > Wolfram > > ... translating template system ... > http://sourceforge.net/projects/simpletpl > now also as PEAR-package available > > ... authentication system .... > http://sf.net/projects/auth > > ... and more at .... > http://opensource.visionp.de > > > -- > PEAR Development Mailing List (http://pear.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > Mirco Bauer aka MEEBEY -----BEGIN GEEK CODE BLOCK----- Version: 3.12 GIT d s-: a--- C++ UL++>++++ P L++$>+++$ E W+++$ N o? K- w++>! O- M- V? PS PE+ Y- PGP>++ t 5+ X++ R tv+ b+ DI? D+ G>++ e h! r>++ y? ------END GEEK CODE BLOCK------

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