Click here to Skip to main content
15,921,028 members

Survey Results

Do you optimise your code?   [Edit]

Survey period: 29 Nov 2004 to 5 Dec 2004

Do you optimise your code for speed, size or resource use? Or do you just let it all hang out?

OptionVotes% 
Yes, all the time27219.22
Yes, whenever I have the time or resources42930.32
Only when it's critical I do so45131.87
Occasionally1319.26
Never: I have no time or resources332.33
Never. What's the point?211.48
Never. I've never learned how.785.51



 
GeneralRe: Good programming style Pin
Jeff J1-Dec-04 10:33
Jeff J1-Dec-04 10:33 
GeneralRe: Good programming style - const Pin
Bamaco229-Nov-04 9:59
Bamaco229-Nov-04 9:59 
GeneralRe: Good programming style - const Pin
Shog929-Nov-04 10:33
sitebuilderShog929-Nov-04 10:33 
GeneralRe: Good programming style - const Pin
Bamaco229-Nov-04 11:18
Bamaco229-Nov-04 11:18 
GeneralRe: Good programming style - const Pin
zorrer29-Nov-04 20:09
zorrer29-Nov-04 20:09 
GeneralOnly if Pin
Yulianto.28-Nov-04 21:43
Yulianto.28-Nov-04 21:43 
GeneralOnly if Pin
Navin29-Nov-04 3:02
Navin29-Nov-04 3:02 
GeneralNever on the first pass Pin
Michael P Butler28-Nov-04 21:22
Michael P Butler28-Nov-04 21:22 
I never optimize my code on the first pass at writing an app. I usually wait until it gets passed the first QA trials to see how it performs. If there are noticeable bottlenecks then I'll take a second pass at the code.

Over the years I've learnt what is optimal code for many situations, so my first pass code is probably better optimized than if I was just starting out as a developer. Although in things like SQL, I'm still learning faster ways of doing things.



Michael

CP Blog [^]

GeneralRe: Never on the first pass Pin
WillemM28-Nov-04 22:12
WillemM28-Nov-04 22:12 

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.