[TYPO3-core] CGL for inline comments

Loek Hilgersom loek at netcoop.nl
Fri Mar 9 15:00:11 CET 2012


Hi all,

What's the current convention for inline comments? The CGL document says 1 
indent more than the code [1], but on the wiki it says something unclear which 
may be interpreted as 'align comment with code':

	keep them on a separate line, before the code the comment is for
	align with code (suggestion for the core team) [2]

Loek


[1] 
http://typo3.org/documentation/document-library/core-documentation/doc_core_cgl/4.5.1/view/1/3/#id2314572

[2] http://wiki.typo3.org/TYPO3_Coding_Guidelines_-_Notes#inline_comments


More information about the TYPO3-team-core mailing list