Click here to Skip to main content
15,891,184 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 
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 
Kyle Edwards wrote:
that typically means less readibility for other people, but I don't care

That worries me. I get worried when people say things like they don't care with issue that are actually quite important. As others have said it is quite normal to revisit code that you may have thought was finished with. 8 years on I still get calls occasionaly about code that I wrote when I was fresh out of university - luckily I quickly realised that maintainability was important and wrote code accordingly so at least if a call comes through I can see what I was doing.


Kyle Edwards wrote:
The main thing to me is bug free, fast and resource efficient code

Bbug-free is near impossible in modern software and fast and resource-efficient are usually trading off against each other.

Kyle Edwards wrote:
The end user is not going to see how much work you put into readibility, but they are going to see if the code is slow or buggy

Depends who the end user is. One of the projects I am currently working on the end users are other developers (I'm working in a team that is developing an API for the end client), so readability is a major factor. However, even if the end user is just a person who will use your web application, readability and maintainability are still very important because most software will go through many revisions and upgrades and RFCs (requests for change) will arrive and so on and frequently bugs arrive just as the person who wrote the code has gone on holiday or just left the company and some one else has to pick up the pieces.

I see from your profile you're still quite young, so you have not been exposed to the commercial world of software development yet. Once you have been I am sure you'll discover that readability is a major factor in writing good solid code.


"You can have everything in life you want if you will just help enough other people get what they want." --Zig Ziglar

The Second EuroCPian Event will be in Brussels on the 4th of September

Can't manage to P/Invoke that Win32 API in .NET? Why not do interop the wiki way!

My Blog


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.