In PHP Zend Framework coding style:
Style for classrooms and Functions are like the Microsoft Style - Brace Alliance, while the control statement such as the switch and the & amp; R - brace is offset.
Why are two different styles used in the same standard?
Matthew Wier o Finnie gave it the best answer:
In large part, our standards have been adopted from peer coding standards (which in turn were adopted from Horde CS); Our goal is to have standards that are interchangeable with other projects, to ensure code stability and readability. Peer standards have been widely adopted (using Adodb, Solar, Fing, and all others peer CS), and are logical choices.
If you want to know why 1 TB is used, then I suggest listing archives for peer and gang projects.
Discussion of coding standards:
Comments
Post a Comment