Better standards in PHP-coding

From: Date: Sun, 21 Apr 2002 03:29:24 +0000
Subject: Better standards in PHP-coding
Groups: php.general 
Request: Send a blank email to php-general+get-93865@lists.php.net to get a copy of this message
Hmm sorry all yes it seems I misread some crucial parts myself.. That whole if(exp) { statement that's a load.. if you want a one-liner conditional statement do: if(exp) statement; and that's it. yes also michael you are right.. I use the: if(exp) { blah blah } else { blah blah 2 } concept as well and find it the best that whole wasting of lines: if(exp) { yabba } else { yadda } is terrible.. Sorry bout that guys.. Didn't really understand the message till I reread email.. ::::::::::::::::::::::::::::::::::::::::::: : Julien Bonastre [The-Spectrum.org CEO] : A.K.A. The_RadiX : the_radix@hotkey.net.au : ABN: 64 235 749 494 : QUT Student :: 04475739 ::::::::::::::::::::::::::::::::::::::::::: ----- Original Message ----- From: "michael kimsal" <michael@tapinternet.com> To: "Mark Charette" <charette@sneezy.org> Cc: <php-general@lists.php.net> Sent: Sunday, April 21, 2002 1:22 PM Subject: Re: [PHP] Better standards in PHP-coding > Mark Charette wrote: > > Hehehe. And I thought the OTBSW (One True Brace Style Wars) had passed into > > memory back some 10 or 15 years ago! Lo! They resurface yet again! 30 years > > in this business and still I hear them argue. > > > > Perhaps a cb style program for PHP so people can write any blasted style > > they feel like and then have another programmer transform it into _their_ > > OTB style. > > > > _My_ "coding standards" may not be _your_ coding standards, but mechanical > > transformations can pretty much make it all moot. > > > > Cool - thanks. I seem to have posted twice on accident, but you > summed up much better what I tried to say, but quicker! :) > This guy got on my few remaining nerves this evening. :) > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.general (#93865) next »