[TYPO3-team-core-v5] FLOW3: First code sprint of F3PR

Karsten Dambekalns karsten at typo3.org
Tue Sep 16 10:36:12 CEST 2008


Hi.

On 16.09.2008, at 10:28, Malte Jansen wrote:
> So we should allowed the inline-comment and should only check the 
> intending of the comment.

(Indenting, although checking the intention would be even better ;) )

I'd rather not allow it. Or make sure you check that it is never used in 
frotn of classes, methods and class members (constants/variables), 
because it may happen that you have functionally relevant annotations 
(like @entity, @var, @scope) in a block that is not a docblock this way. 
Saw this more than once already, and usually you look elsewhere for some 
error first.

If instead comments would have to start with either /** or // the thing 
would be clear(er).

So, my vote goes for // even for multiline comments.

Regards,
Karsten
-- 
Karsten Dambekalns
Gimme Five!
http://typo3.org/gimmefive


More information about the TYPO3-team-core-v5 mailing list