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
ColinDavies4-Sep-03 17:26
ColinDavies4-Sep-03 17:26 
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 
/* Write a good documentation, with all features like procedure header, function description,... . See, you don't need any comment in your code. And if the other don't understand your code-he's just not good enough for working with your code.
*/

Comments are only useful in one language-vbasic. Basiccode have to look like this.

Sub Form_Load()
'Dim a as Variant
'Dim b as Variant
'Init a, b
End Sub

//VB-looks much better with comments.
//Excuse my bad English D'Oh! | :doh:
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 
GeneralRe: Neither Pin
Chris Maunder4-Sep-03 8:22
cofounderChris Maunder4-Sep-03 8:22 
GeneralRe: Neither Pin
ColinDavies4-Sep-03 10:34
ColinDavies4-Sep-03 10:34 
GeneralWhitespace Pin
Anonymous2-Sep-03 19:42
Anonymous2-Sep-03 19:42 
GeneralRe: Whitespace Pin
GreyWolfSftwre2-Sep-03 19:43
GreyWolfSftwre2-Sep-03 19:43 
GeneralRe: Whitespace Pin
dog_spawn3-Sep-03 7:57
dog_spawn3-Sep-03 7:57 
GeneralRe: Whitespace Pin
GISnet3-Sep-03 10:22
GISnet3-Sep-03 10:22 
GeneralRe: Whitespace Pin
Gary R. Wheeler3-Sep-03 12:41
Gary R. Wheeler3-Sep-03 12:41 

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.