[TYPO3-dev] Official coding guidelines of TYPO3
Dmitry Dulepov
dmitry.dulepov at gmail.com
Wed Apr 22 20:49:09 CEST 2009
Hi!
Peter Russ wrote:
> That's my experience with basic PHP-Developers.
>
> But if you at least used to read other "languages" or even write you'll
> appreciate the advantages of "their" cgl.
>
> For me the curly brace is the rated break point.
I fully agree :) I started with Turbo Pascal when I was a student in 1990, than coded in assembler, ASP (VBScript), Microsoft Visual C++, Java (J2SE&J2EE) and PHP. Most of these I had in parallel and used different CGL. I prefer the style for braces that you described because it clearly marks blocks. But... reality is reality. We have certain conventions already and convincing people to change even a single thing will cause you more than you are willing to give :) To tell the truth, I do not like nearly 50% of these conventions. The only thing that I like is a requirement to write comments in the code :D I follow the rest because this is what we use already. I am not happy with them at all but I follow them because I cannot change it to something I think is much better.
Life is life :)
--
Dmitry Dulepov
In TYPO3 blog: http://dmitry-dulepov.com/article/one-day-typo3-performance-improvement.html
LinkedIn: http://www.linkedin.com/in/dmitrydulepov
Twitter: http://twitter.com/dmitryd
Skype: liels_bugs
More information about the TYPO3-dev
mailing list