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



 
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 
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 
appPath doesn't say nothing to me except that this is a path and suppose to be some sort of string, thought it doesn't have. We, for example, have paths defined in Database, so the path can be actually a long variable - ID in DB. See? Now I saw appPath and have NO idea what you mean by that, I have to go and search where it was defined, and if you hate HN, you won't use "m_" declaration for class members also, so your variable can be define anywhere. This increases programming time of your product for example.

BUT if you had declared your variable lpszAppPath, I can be sure that this is a string (LPCTSTR), or if you declared nAppPath (in our particular case) I know that this is an ID to path in Database.

Simple as is Smile | :)

Philip Patrick
Web-site: www.stpworks.com
"Two beer or not two beer?" Shakesbeer
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 
GeneralRe: I am a zealot Pin
James T. Johnson28-Jul-02 20:06
James T. Johnson28-Jul-02 20:06 
GeneralRe: I am a zealot Pin
Christian Graus28-Jul-02 20:19
protectorChristian Graus28-Jul-02 20:19 

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.