Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

2nd or 3rd person comments?

Do you write comments in 2nd or 3rd person?

// go somewhere and do something (2nd person comment)

or

// goes somewhere and does something (3rd person comment) 
like image 836
Emanuil Rusev Avatar asked Oct 31 '09 13:10

Emanuil Rusev


2 Answers

I often tend to speak doctor style:

// Now we take $x and check whether it's valid for this pass
like image 183
Pekka Avatar answered Sep 23 '22 08:09

Pekka


Definitely 3rd person style.

like image 27
Alix Axel Avatar answered Sep 25 '22 08:09

Alix Axel