Re: [PHP] Re: PHP Coding Standards

2004-06-02 Thread Justin French
On 02/06/2004, at 3:00 AM, Justin Patrin wrote: And I'm one of them. :-) I like the KR version because it saves verticaly space and most editors can't really handle correct tabbing when you put it after. IMHO it's just not necessary as ALL blocks should have braces, even those that are

Re: [PHP] Re: PHP Coding Standards

2004-06-01 Thread Don Read
On 31-May-2004 Travis Low wrote: I have to say I like everything about the PEAR coding standards except for the KR bracing style. I much prefer: if( foo ) { blah; } Icky. So ... Vee-Eye or Eighty Megs and Constantly Swapping ? ;- -- Don Read

Re: [PHP] Re: PHP Coding Standards

2004-06-01 Thread Justin Patrin
Travis Low wrote: I have to say I like everything about the PEAR coding standards except for the KR bracing style. I much prefer: if( foo ) { blah; } to if( foo ) { blah; } The latter form (KR) conserves vertical space, but I find it a lot harder to follow. Harder to move

Re: [PHP] Re: PHP Coding Standards

2004-06-01 Thread Travis Low
Justin Patrin wrote: Travis Low wrote: [I hate KR indenting] And I'm one of them. :-) I like the KR version because it saves verticaly space and most editors can't really handle correct tabbing... Arrggghh...TABS. Don't even get me started on tabs... cheers, Travis -- Travis Low mailto:[EMAIL

RE: [PHP] Re: PHP Coding Standards

2004-06-01 Thread Jay Blanchard
[snip] [I hate KR indenting] And I'm one of them. :-) I like the KR version because it saves verticaly space and most editors can't really handle correct tabbing... Arrggghh...TABS. Don't even get me started on tabs... [/snip] How many holy wars can be started in one thread legally? --

Re: [PHP] Re: PHP Coding Standards

2004-06-01 Thread Justin Patrin
Travis Low wrote: Justin Patrin wrote: Travis Low wrote: [I hate KR indenting] And I'm one of them. :-) I like the KR version because it saves verticaly space and most editors can't really handle correct tabbing... Arrggghh...TABS. Don't even get me started on tabs... cheers, Travis I meant

Re: [PHP] Re: PHP Coding Standards

2004-05-31 Thread Torsten Roehr
Travis Low [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I have to say I like everything about the PEAR coding standards except for the KR bracing style. I much prefer: if( foo ) { blah; } to if( foo ) { blah; } The latter form (KR) conserves

Re: [PHP] Re: PHP Coding Standards

2004-05-30 Thread Travis Low
I have to say I like everything about the PEAR coding standards except for the KR bracing style. I much prefer: if( foo ) { blah; } to if( foo ) { blah; } The latter form (KR) conserves vertical space, but I find it a lot harder to follow. Harder to move blocks of code

[PHP] Re: PHP Coding Standards

2004-05-29 Thread Michael Nolan
charles kline wrote: Hi all, I was having a conversation with a friend and talking about coding standards in the open source community (focusing on PHP). I seem to remember there being a document out there that sort of laid it out pretty well. Anyone know where I might find a copy? PEAR has a