Click here to Skip to main content
15,914,348 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)


 
GeneralRe: My 2c Pin
Paul Watson17-Jun-04 11:11
sitebuilderPaul Watson17-Jun-04 11:11 
GeneralRe: My 2c Pin
Alvaro Mendez16-Jun-04 10:56
Alvaro Mendez16-Jun-04 10:56 
GeneralCode that accomplishes the task Pin
Glenn E. Lanier II15-Jun-04 2:55
Glenn E. Lanier II15-Jun-04 2:55 
GeneralRe: Code that accomplishes the task Pin
Chris Maunder15-Jun-04 6:44
cofounderChris Maunder15-Jun-04 6:44 
GeneralRe: Code that accomplishes the task Pin
Bamaco215-Jun-04 8:53
Bamaco215-Jun-04 8:53 
GeneralWriting code that can be understood by others Pin
Thomas Freudenberg15-Jun-04 0:00
Thomas Freudenberg15-Jun-04 0:00 
GeneralRe: Writing code that can be understood by others Pin
Michael A. Barnhart15-Jun-04 0:32
Michael A. Barnhart15-Jun-04 0:32 
GeneralRe: Writing code that can be understood by others Pin
Bamaco215-Jun-04 9:01
Bamaco215-Jun-04 9:01 
I would think that "EXTENSIBILITY" comes from design.

For example, I may have a "LOCKED DOWN" application where
a feature is not "EXTENSIBLE" for one reason or another.
(say I never expected to need expandability)

Still, I can always re-write it. Its not a shame to rewrite
a small feature when its requirement changes.

If I have an application that is expected to "change"
or to "expand" in one area or another, I spend additional
time to make sure that whatever feature in question is
indeed expandable.

For another feature, less likely to change or to be expanded,
I write the simplest, most easy to understand version possible.
This way, if it needs to be changed, anyone should be able to
take over from there.

At the begining of my career, I would spend huge amount of time
to write code that would be super easy to adapt to change. I was
wrong. I never forsaw the proper need to change. Instead, I added
overhead to a smallish application that changed its scope and forced
me to jump through extra hoops to get where I was going.

After a while, I figured out that "less is better". When I write a small
C++ class, I try to leave out any feature that are not 100% required.

Why spend time to work on a feature that will not be used ? Chances are
that I will not have time to test and debug the extra work. When I finally
think that I need the extra feature, It may turn out that I have to re-write
the original code anyway.

Belive me, less is better.
GeneralEasily maintainable code Pin
Phil J Pearson14-Jun-04 23:52
Phil J Pearson14-Jun-04 23:52 
GeneralRe: Easily maintainable code Pin
James R. Twine15-Jun-04 3:58
James R. Twine15-Jun-04 3:58 
GeneralRe: Easily maintainable code Pin
diaphanein15-Jun-04 5:04
diaphanein15-Jun-04 5:04 
GeneralRe: Easily maintainable code Pin
Ralph Walden15-Jun-04 6:09
Ralph Walden15-Jun-04 6:09 
GeneralRe: Easily maintainable code Pin
James R. Twine15-Jun-04 7:40
James R. Twine15-Jun-04 7:40 
GeneralRe: Easily maintainable code Pin
Bamaco215-Jun-04 9:03
Bamaco215-Jun-04 9:03 
GeneralRe: Easily maintainable code Pin
James R. Twine15-Jun-04 7:27
James R. Twine15-Jun-04 7:27 
GeneralRe: Easily maintainable code Pin
Nemanja Trifunovic15-Jun-04 6:25
Nemanja Trifunovic15-Jun-04 6:25 
GeneralResurces Pin
Mordok14-Jun-04 23:23
Mordok14-Jun-04 23:23 
GeneralRe: Resurces Pin
Aaron Eldreth15-Jun-04 4:18
Aaron Eldreth15-Jun-04 4:18 
GeneralRe: Resurces Pin
Mordok15-Jun-04 8:57
Mordok15-Jun-04 8:57 
GeneralRe: Resurces Pin
Aaron Eldreth15-Jun-04 9:27
Aaron Eldreth15-Jun-04 9:27 
GeneralRe: Resurces Pin
Mordok15-Jun-04 22:14
Mordok15-Jun-04 22:14 
GeneralWho wrote CListCtrl again? Pin
Corinna John14-Jun-04 20:20
Corinna John14-Jun-04 20:20 
GeneralRe: Who wrote CListCtrl again? Pin
Gavin Greig15-Jun-04 2:36
Gavin Greig15-Jun-04 2:36 
GeneralRe: Who wrote CListCtrl again? Pin
peterchen15-Jun-04 7:53
peterchen15-Jun-04 7:53 
GeneralRe: Who wrote CListCtrl again? Pin
Chris Richardson15-Jun-04 9:17
Chris Richardson15-Jun-04 9:17 

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.