[Dcphp-dev] Best Practices, Blest Schmacktices
Keith Casey
mailinglists at caseysoftware.com
Tue Feb 27 12:27:05 EST 2007
On 2/27/07, Aaron Brazell <abrazell at b5media.com> wrote:
> Exactly. I hate cluttered code and for "one line after the if" - and
> especially since I put curly braces on separate lines - extranneous curly
> braces make code looked cluttered.
Yes, they may be extraneous, but when you have 2, 5, 10, or 20 people
in the code, a few additional characters to add clarity never hurts.
> Besides, if we want to get into pet peeves, my biggest is people who use
> short tag syntax:
>
> <? echo "Hello World!"; ?>
That'd have to be my second one... and it completely kills any
ability to work with XML.
So do any of you use tools, etc to perform these validations?
kc
--
D. Keith Casey Jr.
CEO, CaseySoftware, LLC
http://CaseySoftware.com
More information about the Dcphp-dev
mailing list