Click here to Skip to main content
15,905,323 members

Survey Results

What is the most important thing in writing code?   [Edit]

Survey period: 14 Jun 2004 to 20 Jun 2004

Which of the following would you rank as your #1 goal when writing code?

OptionVotes% 
Writing bug-free code39528.03
Writing easily extensible code23016.32
Writing easily maintainable code45432.22
Writing code that can be understood by others16811.92
Writing fast code372.63
Writing resource-efficient code684.83

View optional text answers (73 answers)


 
GeneralSome inter-relationships Pin
Kevin McFarlane21-Jun-04 23:29
Kevin McFarlane21-Jun-04 23:29 
GeneralRepost ? Pin
Tomas Petricek20-Jun-04 14:16
Tomas Petricek20-Jun-04 14:16 
GeneralInteresting survey Pin
Terry Henning18-Jun-04 11:01
Terry Henning18-Jun-04 11:01 
GeneralClever, Small Code Pin
Name Removed18-Jun-04 8:03
Name Removed18-Jun-04 8:03 
GeneralRe: Clever, Small Code Pin
Charlie Williams18-Jun-04 12:10
Charlie Williams18-Jun-04 12:10 
Kyle Edwards wrote:
...typically means less readibility for other people, but I don't care.

In my case, that means less readability for myself if I need to come back to the code a week or a month or a year down the road. I'd much rather get to get to coding than spend precious minutes or hours trying to figure out my thought process when I wrote it the first time.


Kyle Edwards wrote:
small, clever code also means better maintanibility...

I certainly can't agree with you there. I used to give myself points for "cleverness" when writing code, but it generally got me into trouble later on.

Compilers couldn't care less whether the code is clever and obfuscated or simple and readable. Source code is for humans, so why not make it easily readable? Maybe coding in Perl is what turned me around, because it's not very difficult to get yourself lost in your own code. You can do it with C#, too, but thankfully it's a bit harder.





Charlie

if(!curlies){ return; }
GeneralRe: Clever, Small Code Pin
Name Removed18-Jun-04 14:10
Name Removed18-Jun-04 14:10 
GeneralRe: Clever, Small Code Pin
Santanu Lahiri18-Jun-04 15:12
Santanu Lahiri18-Jun-04 15:12 
GeneralRe: Perl is dreadful Pin
Kevin McFarlane21-Jun-04 23:44
Kevin McFarlane21-Jun-04 23:44 
GeneralRe: Perl is dreadful Pin
Charlie Williams22-Jun-04 4:32
Charlie Williams22-Jun-04 4:32 
GeneralRe: Perl is dreadful Pin
Kevin McFarlane22-Jun-04 4:57
Kevin McFarlane22-Jun-04 4:57 
GeneralRe: Clever, Small Code Pin
Gary R. Wheeler18-Jun-04 15:21
Gary R. Wheeler18-Jun-04 15:21 
GeneralRe: Clever, Small Code Pin
Colin Angus Mackay19-Jun-04 3:53
Colin Angus Mackay19-Jun-04 3:53 
GeneralRe: Clever, Small Code Pin
Name Removed19-Jun-04 4:17
Name Removed19-Jun-04 4:17 
GeneralRe: Clever, Small Code Pin
Colin Angus Mackay19-Jun-04 4:31
Colin Angus Mackay19-Jun-04 4:31 
GeneralRe: Clever, Small Code Pin
Kevin McFarlane21-Jun-04 23:42
Kevin McFarlane21-Jun-04 23:42 
GeneralRe: Clever, Small Code Pin
Stan Shannon20-Jun-04 6:38
Stan Shannon20-Jun-04 6:38 
GeneralRe: Clever, Small Code Pin
Partha Kr. Chakraborti20-Jun-04 22:58
Partha Kr. Chakraborti20-Jun-04 22:58 
GeneralRe: Clever, Small Code Pin
Kevin McFarlane21-Jun-04 23:27
Kevin McFarlane21-Jun-04 23:27 
GeneralRe: Clever, Small Code Pin
ColinDavies10-Oct-04 14:26
ColinDavies10-Oct-04 14:26 
Generalextensible is maintanable Pin
Juha Silmujarvi17-Jun-04 21:02
Juha Silmujarvi17-Jun-04 21:02 
GeneralRe: extensible is maintanable Pin
fantastic_mr_fox17-Jun-04 21:59
fantastic_mr_fox17-Jun-04 21:59 
GeneralRe: extensible is maintanable Pin
Kevin McFarlane21-Jun-04 23:33
Kevin McFarlane21-Jun-04 23:33 
GeneralRe: extensible is maintanable Pin
KevinHall18-Jun-04 5:39
KevinHall18-Jun-04 5:39 
Generalmaintainable is extensible Pin
Chris Hills18-Jun-04 7:31
Chris Hills18-Jun-04 7:31 
GeneralRe: extensible is maintanable Pin
Xybex18-Jun-04 12:45
Xybex18-Jun-04 12:45 

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.