Click here to Skip to main content
15,897,371 members

Survey Results

To whom do you direct comments in your code?

Survey period: 31 Jul 2016 to 7 Aug 2016

Do you write comments to those you work with? To yourself? To a different version of yourself (mandatory XKCD)

OptionVotes% 
To those who would need to maintain the code86965.04
To those looking to use my code49837.28
To those working on the code with me44633.38
To my managers / team lead745.54
To the poor souls who have to review my code27920.88
To my future self1,02076.35
To my future robot overloads977.26
To future palaeontologists987.34
Other312.32
I don't write comments in code896.66
Respondents were allowed to choose more than one answer; totals may not add up to 100%



 
GeneralI don't write comments in code Pin
Beginner Luck31-Jul-16 19:43
professionalBeginner Luck31-Jul-16 19:43 
GeneralRe: I don't write comments in code Pin
Agent__00731-Jul-16 21:01
professionalAgent__00731-Jul-16 21:01 
GeneralRe: I don't write comments in code Pin
Beginner Luck31-Jul-16 21:05
professionalBeginner Luck31-Jul-16 21:05 
GeneralRe: I don't write comments in code Pin
Efe Erdoğru1-Aug-16 11:42
professionalEfe Erdoğru1-Aug-16 11:42 
GeneralRe: I don't write comments in code Pin
Beginner Luck1-Aug-16 12:38
professionalBeginner Luck1-Aug-16 12:38 
GeneralRe: I don't write comments in code Pin
dan!sh 2-Aug-16 18:04
professional dan!sh 2-Aug-16 18:04 
Generalto my future self... Pin
Jim Meadors31-Jul-16 19:05
Jim Meadors31-Jul-16 19:05 
GeneralRe: to my future self... Pin
kalberts1-Aug-16 23:12
kalberts1-Aug-16 23:12 
Mandatory Geek and Poke: http://geek-and-poke.com/geekandpoke/2013/11/24/simply-explained[^]

I try to write good, usable comments during the initial writing of my code. Then, after I have worked on some other stuff for half a year before returning to make a new release, I add 50% more comments for the parts of my own code I do not immediately understand - and delete half of the old comments because they are really redundant. After two or three releases, with fewer and fewer additions/deletions of comments, those left are usually quite helpful.
GeneralFor My future use and for those who maintain code Pin
koolprasad200331-Jul-16 18:12
professionalkoolprasad200331-Jul-16 18:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.