Click here to Skip to main content
15,920,513 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



 
GeneralRe: Neither Pin
Paul Watson3-Sep-03 20:35
sitebuilderPaul Watson3-Sep-03 20:35 
GeneralRe: Neither Pin
ColinDavies3-Sep-03 21:17
ColinDavies3-Sep-03 21:17 
GeneralRe: Neither Pin
FruitBatInShades3-Sep-03 23:56
FruitBatInShades3-Sep-03 23:56 
GeneralRe: Neither Pin
ColinDavies4-Sep-03 0:50
ColinDavies4-Sep-03 0:50 
GeneralRe: Neither Pin
FruitBatInShades4-Sep-03 1:06
FruitBatInShades4-Sep-03 1:06 
GeneralRe: Neither Pin
ColinDavies4-Sep-03 1:33
ColinDavies4-Sep-03 1:33 
GeneralRe: Neither Pin
Paul Oss4-Sep-03 12:22
Paul Oss4-Sep-03 12:22 
GeneralRe: Neither Pin
ColinDavies4-Sep-03 17:26
ColinDavies4-Sep-03 17:26 
Paul Oss wrote:
Broad comments can help eliminate entire sections/functions very quickly.

Agreed !! with an additional emphasis on Broad.

Paul Oss wrote:
But I can tell you from experience, that our development time dramatically reduced once we added just a few INFORMAL practices.

I use to quite heavily comment stuff, and "refactor" code to be more understandable by peers.
To be honest I often find comments harder to understand then the actual code, and this includes my own comments.
Seriously I think when you are actually coding the perspsctive of what a later reviewer will understnd of the comments is influenced by your own mind state at the time. Thus maybe the best person to comment code is not the actual developer.

Regardz
Colin J Davies


* WARNING *
This could be addictive
The minion's version of "Catch Green Alien | [Alien] "



It's a real shame that people as stupid as you can work out how to use a computer. said by Christian Graus in the Soapbox
GeneralRe: Neither Pin
Paul Oss4-Sep-03 20:43
Paul Oss4-Sep-03 20:43 
GeneralRe: Neither Pin
Renault the Duck5-Sep-03 17:30
Renault the Duck5-Sep-03 17:30 
GeneralRe: Neither Pin
Paul Oss5-Sep-03 20:19
Paul Oss5-Sep-03 20:19 
GeneralRe: Neither Pin
Jim A. Johnson3-Sep-03 8:18
Jim A. Johnson3-Sep-03 8:18 
GeneralRe: Neither Pin
ColinDavies3-Sep-03 10:13
ColinDavies3-Sep-03 10:13 
GeneralRe: Neither Pin
Paul Oss4-Sep-03 12:28
Paul Oss4-Sep-03 12:28 
GeneralRe: Neither Pin
Steffen Büchner3-Sep-03 20:24
Steffen Büchner3-Sep-03 20:24 
GeneralRe: Neither Pin
brianwelsch3-Sep-03 9:59
brianwelsch3-Sep-03 9:59 
GeneralRe: Neither Pin
ColinDavies3-Sep-03 10:18
ColinDavies3-Sep-03 10:18 
GeneralRe: Neither Pin
brianwelsch3-Sep-03 10:26
brianwelsch3-Sep-03 10:26 
GeneralRe: Neither Pin
Gary Wheeler3-Sep-03 10:04
Gary Wheeler3-Sep-03 10:04 
GeneralRe: Neither Pin
ColinDavies3-Sep-03 10:19
ColinDavies3-Sep-03 10:19 
GeneralRe: Neither Pin
Gary Wheeler3-Sep-03 10:40
Gary Wheeler3-Sep-03 10:40 
GeneralRe: Neither Pin
ColinDavies3-Sep-03 11:18
ColinDavies3-Sep-03 11:18 
GeneralRe: Neither Pin
Gary R. Wheeler3-Sep-03 12:32
Gary R. Wheeler3-Sep-03 12:32 
GeneralRe: Neither Pin
brianwelsch3-Sep-03 15:21
brianwelsch3-Sep-03 15:21 
GeneralRe: Neither Pin
ColinDavies4-Sep-03 0:53
ColinDavies4-Sep-03 0:53 

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.