RE: [PHP] Better standards in PHP-coding

2002-04-22 Thread Maxim Maletsky \(PHPBeginner.com\)
Also very true. Sincerely, Maxim Maletsky Founder, Chief Developer www.PHPBeginner.com // where PHP Begins -Original Message- From: Jason Wong [mailto:[EMAIL PROTECTED]] Sent: Monday, April 22, 2002 6:50 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] Better standards in PHP

Re: [PHP] Better standards in PHP-coding

2002-04-21 Thread PHP freak
Change terrible to readable and I agree completely! A carriage return and tab is the same size as two space-bar spaces, but is MUCH easier to read. It's when you're going through someone ELSE's code that you start to appreciate things being all clearly spaced out with all nested things in

Re: [PHP] Better standards in PHP-coding

2002-04-21 Thread Jason Wong
On Sunday 21 April 2002 11:26, The_RadiX wrote: Hard in email to show as the character spacing is not equal like good text editors.. Set your mail client to use a fixed width font -- Lucida Console is my preferred font. -- Jason Wong - Gremlins Associates - www.gremlins.com.hk Open

Re: [PHP] Better standards in PHP-coding

2002-04-21 Thread The_RadiX
: [EMAIL PROTECTED] : ABN: 64 235 749 494 : QUT Student :: 04475739 ::: - Original Message - From: Jason Wong [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, April 21, 2002 5:53 PM Subject: Re: [PHP] Better standards in PHP-coding On Sunday 21

Re: [PHP] Better standards in PHP-coding

2002-04-21 Thread Tom Rogers
Hi I like the following form, not sure how much time gets wasted in parsing but it's easy for me to follow :) while(something): if(something else): yada; else: forget it; endif; endwhile; Tom At 11:51 AM 21/04/2002, Frank wrote:

RE: [PHP] Better standards in PHP-coding

2002-04-21 Thread .ben
I prefer the following: function doThing() { strFoo = 'bar'; } nice and tidy. at the end of the day, as long as code is commented, consistant in layout style, and works... that's enough. aint it? .b -Original Message- From: Frank [mailto:[EMAIL PROTECTED]] Sent: 21 April

RE: [PHP] Better standards in PHP-coding

2002-04-21 Thread Martin Towell
-Original Message- From: Tom Rogers [mailto:[EMAIL PROTECTED]] Sent: Sunday, April 21, 2002 9:10 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Better standards in PHP-coding Hi I like the following form, not sure how much time gets wasted in parsing but it's easy for me to follow

RE: [PHP] Better standards in PHP-coding

2002-04-21 Thread .ben
From: Martin Towell [mailto:[EMAIL PROTECTED]] snip So what I'm basically saying is - choose a style that suits you, and be _consistant_ with it - oh, and make sure you indent your code, there's nothing worse than trying to read code that's not indented, or indented all over the place!

RE: [PHP] Better standards in PHP-coding

2002-04-21 Thread Maxim Maletsky
To: [EMAIL PROTECTED] Subject: RE: [PHP] Better standards in PHP-coding (Just got back from the weekend) Just my 2c worth IMHO, as long as the code is indented properly, it doesn't matter where the braces are, just be consistant. Personally, I prefer to put the opening brace on a new

Re: [PHP] Better standards in PHP-coding

2002-04-21 Thread Jason Wong
On Monday 22 April 2002 08:07, Maxim Maletsky wrote: I think standardization within the company is what important. I prefer tabs because when I have to delete a part of the line, I just hit back button once - not four times. I prefer an editor which allows me to tab using spaces and to

RE: [PHP] Better standards in PHP-coding

2002-04-20 Thread Mark Charette
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

Re: [PHP] Better standards in PHP-coding

2002-04-20 Thread michael kimsal
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