Click here to Skip to main content
15,918,485 members

Survey Results

What's more important - easily understandable code or good comments?   [Edit]

Survey period: 1 Sep 2003 to 7 Sep 2003

You would hope to get both, but given a choice, which would you take?

OptionVotes% 
Easily understandable code69066.60
Good comments34633.40



 
GeneralSame thing Pin
Jim A. Johnson1-Sep-03 16:25
Jim A. Johnson1-Sep-03 16:25 
GeneralRe: Same thing Pin
Chris Maunder1-Sep-03 16:54
cofounderChris Maunder1-Sep-03 16:54 
GeneralRe: Same thing Pin
berndg1-Sep-03 20:16
berndg1-Sep-03 20:16 
GeneralRe: Same thing Pin
Chris Beckett2-Sep-03 3:57
Chris Beckett2-Sep-03 3:57 
GeneralRe: Same thing Pin
leppie2-Sep-03 7:46
leppie2-Sep-03 7:46 
GeneralRe: Same thing Pin
John M. Drescher2-Sep-03 16:05
John M. Drescher2-Sep-03 16:05 
GeneralRe: Same thing Pin
Wade Tingley2-Sep-03 16:40
Wade Tingley2-Sep-03 16:40 
GeneralRe: Same thing Pin
Gary Wheeler2-Sep-03 9:23
Gary Wheeler2-Sep-03 9:23 
I agree. The only place I've seen lately where comments are mandatory regardless of the 'readability' of the underlying code is in assembly language. I'm maintaining an OS/2 device driver (don't ask; it isn't pretty) that is ~18,000 lines of assembly language. The source is probably 65% comments. It's just not possible to maintain this thing without verbose, inline documentation.


Software Zen: delete this;
GeneralRe: Same thing Pin
brianwelsch3-Sep-03 15:48
brianwelsch3-Sep-03 15:48 
GeneralRe: Same thing Pin
Gary Wheeler4-Sep-03 1:47
Gary Wheeler4-Sep-03 1:47 
GeneralRe: Same thing Pin
brianwelsch4-Sep-03 2:53
brianwelsch4-Sep-03 2:53 
GeneralRe: Same thing Pin
Matt Newman2-Sep-03 2:38
Matt Newman2-Sep-03 2:38 
GeneralCListCtrl Pin
Nick Seng1-Sep-03 15:47
Nick Seng1-Sep-03 15:47 
GeneralThis is going... Pin
Paul Watson1-Sep-03 20:24
sitebuilderPaul Watson1-Sep-03 20:24 
GeneralDon't worry Pin
Nick Seng1-Sep-03 20:35
Nick Seng1-Sep-03 20:35 
GeneralAhh, but you... Pin
Paul Watson1-Sep-03 20:40
sitebuilderPaul Watson1-Sep-03 20:40 
GeneralTo be fair..... Pin
Nick Seng1-Sep-03 20:44
Nick Seng1-Sep-03 20:44 
GeneralRe: To be fair..... Pin
Jonas Larsson2-Sep-03 2:19
Jonas Larsson2-Sep-03 2:19 
GeneralRe: To be fair..... Pin
KaЯl3-Sep-03 1:27
KaЯl3-Sep-03 1:27 
GeneralRe: This is going... Pin
Ian Darling2-Sep-03 7:09
Ian Darling2-Sep-03 7:09 
GeneralRe: CListCtrl Pin
Gary Wheeler2-Sep-03 9:19
Gary Wheeler2-Sep-03 9:19 
GeneralRe: CListCtrl Pin
Uwe Keim4-Sep-03 23:09
sitebuilderUwe Keim4-Sep-03 23:09 
GeneralUnderstandable code Pin
Nick Seng1-Sep-03 15:47
Nick Seng1-Sep-03 15:47 

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.