I have been reviewing the ZF Coding Standards and support most all standards
implemented with the exception of Control Statements not using the Allman
style braces, which seems to support the 1TB style. What is the thought
behind this, why deviate from how braces are handled throughout all other
areas?

I am hesitant to adopt it, as I personally use the Allman style throughout
all my code. I'll spare going through the advantages and disadvantages of
each, as it is not the intent of this post.

However, I would like to better understand the reasoning behing using the
K&R style for control statements, while using Allman style for everything
else, before completely adopting the ZF coding standards.

Best Regards and Happy Holidays!
Mike Bronner

References:
WikiPedia:  http://en.wikipedia.org/wiki/Indent_style
http://en.wikipedia.org/wiki/Indent_style 
ZF Coding Standards: 
http://framework.zend.com/manual/en/coding-standard.html
http://framework.zend.com/manual/en/coding-standard.html 
-- 
View this message in context: 
http://www.nabble.com/ZF-Coding-Guidelines-tp21186254p21186254.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to