Re: Which is better coding style...
| From: | David Bouw | Date: | Thu, 19 Apr 2001 23:13:13 +0000 |
| Subject: | Re: Which is better coding style... | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-49445@lists.php.net to get a copy of this message | ||
Your coding style is not the most used..
But I must be honest and tell you that I also find the clearest way...
I also use it on all my own code.. It has got the advantage that you always
see all brackets (no need to scroll to the right to find a bracket) and if
you go down on the same horizontal position you should always find a
bracket closing your statement...
> This participates the clearest for me,
> but unfortunately not usual.
>
> if (...)
> {...commands...
> switch(...)
> {case commands...
> case commands...
> case commands...
> }
> while(...)
> {...commands...
> }
> }
> else
> {...commands...
> }
>
> it participates maybe uncomfortable to write,
> however, simply to debug...
>
> I learning be doing,
> but this already many years... ;-)
>
>
> m.f.G. N. Pfeiffer
> _______________________________
> www.uris.de pfeiffer@uris.de
> 0177-2363368 02292-681769
> -------------------------------
> e.o.m.
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>