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


 
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 
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 
   Sorry, but it sounds like you (as many others here) are treating "Fast Code" and "Maintainable Code" as if they are mutually exclusive   None of the options have to be mutually exclusive of each-other, that is simply how people choose to view it. 

   It is entirely possible to produce high-quality, maintainable, and well-performing code; you just have to foster the discipline to do so.  Problem is, many of us, from the get-go, learn to do things the "it works" way, instead of the "it works well" way.  For example, did your first Hello World! program use printf(...) or puts(...)?  Ask yourself, which one is the better choice -- which one works and which one works well?

   As far as going back to older code, it has been a loooooong time since I went back to older code and thought: "what the hell was I doing here?" I have since created a heavily-commented coding style that leaves no doubt (to me or to others).  Again, a good habit, like commenting, leads to better quality code overall.

   Peace!

-=- James
Tip for SUV winter driving survival: "Professional Driver on Closed Course" does not mean "your Dumb Ass on a Public Road"!
Articles -- Products: Delete FXP Files & Check Favorites

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 
GeneralRe: Who wrote CListCtrl again? Pin
Roger Wright15-Jun-04 4:38
professionalRoger Wright15-Jun-04 4:38 
GeneralRe: Who wrote CListCtrl again? Pin
Chris Richardson15-Jun-04 9:15
Chris Richardson15-Jun-04 9:15 
GeneralFree bugs. Pin
Maxwell Chen14-Jun-04 19:00
Maxwell Chen14-Jun-04 19:00 
GeneralRe: Free bugs. Pin
Corinna John14-Jun-04 20:22
Corinna John14-Jun-04 20:22 
GeneralAs expected... CListCtrl Pin
Weiye Chen14-Jun-04 15:56
Weiye Chen14-Jun-04 15:56 

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.