Click here to Skip to main content
15,888,221 members

Survey Results

Is the way source code looks as important as how it runs?   [Edit]

Survey period: 29 Jul 2002 to 4 Aug 2002

Some people are code formatting nuts while others feel that as long as it's tight it's good enough. What's your opinion?

OptionVotes% 
Formatting is most important because nothing's worth doing if you don't look good doing it.756.22
Formatting is important because it makes optimisation, bug fixing etc. easier.64453.44
They are both equally important.34328.46
Performance over good looks. The user doesn't see the code.1068.80
It was hard to write so it should be even harder to read.221.83
I really don't care.151.24



 
GeneralFormatting is important because.... Pin
Roger Allen29-Jul-02 5:30
Roger Allen29-Jul-02 5:30 
GeneralRe: Formatting is important because.... Pin
James R. Twine29-Jul-02 7:42
James R. Twine29-Jul-02 7:42 
GeneralRe: Formatting is important because.... Pin
Armen Hakobyan29-Jul-02 11:31
professionalArmen Hakobyan29-Jul-02 11:31 
GeneralRe: Formatting is important because.... Pin
UltraJoe30-Jul-02 1:49
UltraJoe30-Jul-02 1:49 
GeneralRe: Formatting is important because.... Pin
Armen Hakobyan30-Jul-02 6:37
professionalArmen Hakobyan30-Jul-02 6:37 
GeneralRe: Formatting is important because.... Pin
UltraJoe30-Jul-02 7:55
UltraJoe30-Jul-02 7:55 
GeneralRe: Formatting is important because.... Pin
Armen Hakobyan30-Jul-02 11:53
professionalArmen Hakobyan30-Jul-02 11:53 
GeneralRe: Formatting is important because.... Pin
UltraJoe31-Jul-02 8:04
UltraJoe31-Jul-02 8:04 
Armen Hakobyan wrote:
The name lpszAppPath makes clear its type and what methods to use without going to its definition.

IMHO, I'd rather go back to the definition (and be sure somebody didn't change the type without changing the name!) than to wade through the garbage just to find the purpose of the identifier.

Armen Hakobyan wrote:
And how often do you change char* to CString ? Smile | :)

During prototyping, more often than one might think.
GeneralRe: Formatting is important because.... Pin
Armen Hakobyan31-Jul-02 11:47
professionalArmen Hakobyan31-Jul-02 11:47 
GeneralRe: Formatting is important because.... Pin
Philip Patrick31-Jul-02 1:56
professionalPhilip Patrick31-Jul-02 1:56 
GeneralRe: Formatting is important because.... Pin
UltraJoe31-Jul-02 8:09
UltraJoe31-Jul-02 8:09 
GeneralRe: Formatting is important because.... Pin
Philip Patrick31-Jul-02 9:36
professionalPhilip Patrick31-Jul-02 9:36 
GeneralRe: Formatting is important because.... Pin
UltraJoe1-Aug-02 10:01
UltraJoe1-Aug-02 10:01 
GeneralRe: Formatting is important because.... Pin
KarstenK30-Jul-02 1:10
mveKarstenK30-Jul-02 1:10 
GeneralRe: Formatting is important because.... Pin
Marc Clifton31-Jul-02 11:51
mvaMarc Clifton31-Jul-02 11:51 
GeneralIf it looks bad, it most likely runs bad as well... Pin
George28-Jul-02 21:00
George28-Jul-02 21:00 
GeneralRe: If it looks bad, it most likely runs bad as well... Pin
Alexandru Savescu28-Jul-02 23:21
Alexandru Savescu28-Jul-02 23:21 
GeneralRe: If it looks bad, it most likely runs bad as well... Pin
George29-Jul-02 3:26
George29-Jul-02 3:26 
GeneralRe: If it looks bad, it most likely runs bad as well... Pin
Anonymous29-Jul-02 22:32
Anonymous29-Jul-02 22:32 
GeneralRe: If it looks bad, it most likely runs bad as well... Pin
Tim Smith31-Jul-02 5:13
Tim Smith31-Jul-02 5:13 
GeneralRe: If it looks bad, it most likely runs bad as well... Pin
Mike Pulice30-Jul-02 12:06
Mike Pulice30-Jul-02 12:06 
GeneralRe: If it looks bad, it most likely runs bad as well... Pin
SHaroz1-Aug-02 12:42
SHaroz1-Aug-02 12:42 
GeneralRe: If it looks bad, it most likely runs bad as well... Pin
jan larsen2-Aug-02 2:12
jan larsen2-Aug-02 2:12 
GeneralRe: If it looks bad, it most likely runs bad as well... Pin
Paul Watson2-Aug-02 6:20
sitebuilderPaul Watson2-Aug-02 6:20 
GeneralI am a zealot Pin
Christian Graus28-Jul-02 19:51
protectorChristian Graus28-Jul-02 19:51 

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.