Click here to Skip to main content
15,887,485 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: I am a zealot Pin
James R. Twine29-Jul-02 4:55
James R. Twine29-Jul-02 4:55 
GeneralRe: I am a zealot Pin
Christian Graus29-Jul-02 12:34
protectorChristian Graus29-Jul-02 12:34 
GeneralRe: I am a zealot Pin
James R. Twine29-Jul-02 18:53
James R. Twine29-Jul-02 18:53 
GeneralRe: I am a zealot Pin
Mike Pulice30-Jul-02 12:09
Mike Pulice30-Jul-02 12:09 
GeneralRe: I am a zealot Pin
Christian Graus30-Jul-02 12:35
protectorChristian Graus30-Jul-02 12:35 
GeneralOf course, it really depends on the situation... Pin
Shog928-Jul-02 18:17
sitebuilderShog928-Jul-02 18:17 
GeneralRe: Of course, it really depends on the situation... Pin
Mr Morden28-Jul-02 21:09
Mr Morden28-Jul-02 21:09 
GeneralRe: Of course, it really depends on the situation... Pin
Shog929-Jul-02 6:53
sitebuilderShog929-Jul-02 6:53 
Mr Morden wrote:
I've come to an epiphany lately that documentation should not describe how a class works, but rather what it does and why it exists. What and why does not get out of date as quickly as how.

I agree 100%. Except in cases where the code represents an unfamiliar algorithm, i tend to mistrust "how" documentation even when it exists. "Why" documentation can be vital however, especially after the code has been left to rot for a while...

Mr Morden wrote:
A lot of prototypes have become full blown projects, and the existing, crappy code has been retained.

Sadly, this is true. But one of the primary advantages of a prototype is to prove a concept or test an interface without committing the time to it that the full-blown project will require; not to say you should write *bad* code in this situation, but merely that it isn't the priority. IMHO, this is one of the best arguments in favor of using tools to build the prototype that cannot (or will not) be used to build the final application (i.e., using VB/C#/HTML for prototyping, C++ for the project).

---

Shog9
If I could sleep forever, I could forget about everything...

GeneralRe: Of course, it really depends on the situation... Pin
Paul M Watt28-Jul-02 21:10
mentorPaul M Watt28-Jul-02 21:10 

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.