Click here to Skip to main content
15,920,630 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: Comments assume... Pin
ColinDavies4-Sep-03 0:55
ColinDavies4-Sep-03 0:55 
GeneralRe: Comments assume... Pin
Paul Oss4-Sep-03 11:56
Paul Oss4-Sep-03 11:56 
GeneralA comment is only... Pin
Steffen Büchner3-Sep-03 1:52
Steffen Büchner3-Sep-03 1:52 
GeneralRe: A comment is only... Pin
ColinDavies3-Sep-03 10:22
ColinDavies3-Sep-03 10:22 
GeneralRe: A comment is only... Pin
Steffen Büchner3-Sep-03 20:11
Steffen Büchner3-Sep-03 20:11 
GeneralNeither Pin
ColinDavies2-Sep-03 21:46
ColinDavies2-Sep-03 21:46 
GeneralRe: Neither Pin
Paul Watson2-Sep-03 22:12
sitebuilderPaul Watson2-Sep-03 22:12 
GeneralRe: Neither Pin
ColinDavies2-Sep-03 22:37
ColinDavies2-Sep-03 22:37 
Paul Watson wrote:
You are obviously trolling but this is still worth mention;

Not entirely Paul. I realise that a lot of people will disagree with me, and what I ahve just said goes against the popular opinion, but I do believe it.

Paul Watson wrote:
Any fool can get compiled code, it is at run-time that counts.

Agreed, clients are happy if you can produce quality goods at a reasonable price. Software is no different apart from a few exceptions.
If a solution is required, it doesn't matter if it is created in C++. C# VB, Pascal, Forth, Lisp, or Lego. What matters is if it meets the requirements of the client. Commenting and creating understandable code is a micro issue.
For instance C++ allows a developer to break his work into classes, what really matters is if the conventions for calling procedures in the classes are strong. If the class has been made bug-free and robust it never needs a second look. So what's the point in internal understandability or comments ?
If a class has problems, the developer should just rewrite it better the next time.
The whole issue of reusability is crud if you are going to have to be perpetually maintaining code, as the flow on effects are going to be horrendous. It appears these days 90+ % of developers spend there time not actually developing but maintaining. This proves that the code initially accepted was not up to scratch.
Adding comments and attempting to make code understandable to third parties, just proves that you have no confidence in the future of your code.




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 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 
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 

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.