Click here to Skip to main content
15,905,558 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: First things first. Pin
Nemanja Trifunovic16-Jun-04 3:10
Nemanja Trifunovic16-Jun-04 3:10 
GeneralRe: First things first. Pin
Gary Wheeler16-Jun-04 3:46
Gary Wheeler16-Jun-04 3:46 
GeneralRe: First things first. Pin
Alvaro Mendez16-Jun-04 10:52
Alvaro Mendez16-Jun-04 10:52 
GeneralRe: First things first. Pin
diilbert16-Jun-04 14:37
diilbert16-Jun-04 14:37 
GeneralRe: First things first. Pin
diilbert16-Jun-04 14:43
diilbert16-Jun-04 14:43 
GeneralRe: First things first. Pin
Alvaro Mendez17-Jun-04 8:29
Alvaro Mendez17-Jun-04 8:29 
GeneralRe: First things first. Pin
Nemanja Trifunovic17-Jun-04 9:59
Nemanja Trifunovic17-Jun-04 9:59 
GeneralRe: First things first. Pin
Alvaro Mendez17-Jun-04 12:08
Alvaro Mendez17-Jun-04 12:08 
Nemanja Trifunovic wrote:
And keyword using is not filling the void.

Really? It fills the void quite nicely for me.

You implement IDisposable, put your cleanup code inside the Dispose method, and let using write all the try/finally code for you. It's probably as close as you can get to RAII in a garbage collected language. I use it extensively, especially for things like showing a wait cursor:

using (Cursor.Current = Cursors.WaitCursor)
{
  // do some processing
}

Regards,
Alvaro


Give a man a fish, he owes you one fish. Teach a man to fish, you give up your monopoly on fisheries.
GeneralIt depends... Pin
Anonymous15-Jun-04 11:17
Anonymous15-Jun-04 11:17 
GeneralRe: It depends... Pin
TheEdgeRocks16-Jun-04 18:42
TheEdgeRocks16-Jun-04 18:42 
GeneralRe: It depends... Pin
Trickster17-Jun-04 2:49
Trickster17-Jun-04 2:49 
GeneralWriting less of it for more $$$ Pin
Marc Clifton15-Jun-04 10:48
mvaMarc Clifton15-Jun-04 10:48 
GeneralRe: Writing less of it for more $$$ Pin
WillemM15-Jun-04 22:06
WillemM15-Jun-04 22:06 
GeneralRe: Writing less of it for more $$$ Pin
Michael P Butler16-Jun-04 1:28
Michael P Butler16-Jun-04 1:28 
GeneralIt is the kind of code we write Pin
Paul Watson17-Jun-04 11:19
sitebuilderPaul Watson17-Jun-04 11:19 
GeneralRe: It is the kind of code we write Pin
Michael P Butler17-Jun-04 12:18
Michael P Butler17-Jun-04 12:18 
GeneralRe: It is the kind of code we write Pin
Paul Watson17-Jun-04 21:04
sitebuilderPaul Watson17-Jun-04 21:04 
GeneralRe: It is the kind of code we write Pin
Michael P Butler17-Jun-04 21:29
Michael P Butler17-Jun-04 21:29 
GeneralRe: Writing less of it for more $$$ Pin
Aaron Eldreth16-Jun-04 5:29
Aaron Eldreth16-Jun-04 5:29 
GeneralRe: Writing less of it for more $$$ Pin
Jörgen Sigvardsson16-Jun-04 6:36
Jörgen Sigvardsson16-Jun-04 6:36 
GeneralRe: Writing less of it for more $$$ Pin
Paul Watson17-Jun-04 11:12
sitebuilderPaul Watson17-Jun-04 11:12 
GeneralRe: Writing less of it for more $$$ Pin
Jörgen Sigvardsson17-Jun-04 20:06
Jörgen Sigvardsson17-Jun-04 20:06 
GeneralRe: Writing less of it for more $$$ Pin
Monty216-Jun-04 19:32
Monty216-Jun-04 19:32 
Generalwtf! stupid question... Pin
Ellery_Familia15-Jun-04 7:41
Ellery_Familia15-Jun-04 7:41 
GeneralRe: wtf! stupid question... Pin
Bamaco215-Jun-04 8:48
Bamaco215-Jun-04 8:48 

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.