Click here to Skip to main content
15,920,596 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 Watson2-Sep-03 23:31
sitebuilderPaul Watson2-Sep-03 23:31 
GeneralRe: Neither Pin
ColinDavies3-Sep-03 10:32
ColinDavies3-Sep-03 10:32 
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 
LeeDaviesVBSource wrote:
What about your documentation or don't you believe in that either?

I believe in documentation !!
Ok first you should have the original requirements handy, sure you can add them with /* */ to the source code if you wish so they don't get lost, but visual requiremnets need to be on paper.
Also you should document what ever has been imported or used externally in the project||application. And of course if it's a team, who did what.
How the application or whatever was tested and what paramaters were used. (this is really useful)
Last of all how the Application and classes or libraries or whatever are to be used, so that you can have reusability of what is is good.
Since originally posting I have altered my mind as to commenting, and now consider that there are a lot of exceptions.
Understandable code is different as its got a lot to with ability and perception.
I have heard of professional developers that don't get *pointers*. Ok they manage to survive, but I'm sure when they find code that really uses pointers etc, they are befuddled.

I keep meaning to move to .NET, so until then I can't comment. Smile | :)
LeeDaviesVBSource wrote:
How about that for a compromise?
Cheers



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 12:22
Paul Oss4-Sep-03 12:22 
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 
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 

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.