Click here to Skip to main content
15,888,521 members

Survey Results

What do you specifically optimise for when programming?   [Edit]

Survey period: 30 Mar 2009 to 6 Apr 2009

Harder, better, faster, stronger. What parts of your programs do you focus on when optimising?

OptionVotes% 
Speed of execution of core functionality67365.59
Responsiveness of UI60959.36
Memory consumption35834.89
Power consumption333.22
Network utilisation17517.06
Data access speed (including caching)47546.30
Data storage size15014.62
Ease of use54953.51
I don"t optimise my code646.24
Other595.75
Respondents were allowed to choose more than one answer; totals may not add up to 100%

View optional text answers (65 answers)


 
GeneralDefensive Coding Pin
Natza Mitzi5-Apr-09 11:12
Natza Mitzi5-Apr-09 11:12 
GeneralRe: Defensive Coding Pin
Ernest Laurentin5-Apr-09 11:24
Ernest Laurentin5-Apr-09 11:24 
GeneralRe: Defensive Coding Pin
Natza Mitzi5-Apr-09 19:08
Natza Mitzi5-Apr-09 19:08 
GeneralRe: Defensive Coding Pin
John M. Drescher6-Apr-09 3:19
John M. Drescher6-Apr-09 3:19 
AnswerMaintainability Pin
Edw3-Apr-09 11:39
Edw3-Apr-09 11:39 
GeneralRe: Maintainability Pin
JamesA_Dev6-Apr-09 22:45
JamesA_Dev6-Apr-09 22:45 
GeneralMy time Pin
Marc Clifton1-Apr-09 1:40
mvaMarc Clifton1-Apr-09 1:40 
GeneralUsers' time Pin
Nemanja Trifunovic1-Apr-09 4:17
Nemanja Trifunovic1-Apr-09 4:17 
GeneralRe: My time Pin
Ernest Laurentin1-Apr-09 12:35
Ernest Laurentin1-Apr-09 12:35 
GeneralIt really depends... Pin
Ray Cassick31-Mar-09 8:04
Ray Cassick31-Mar-09 8:04 
RantMaintainability/Readability is not optimization... Pin
Jon Rista31-Mar-09 7:39
Jon Rista31-Mar-09 7:39 
GeneralRe: Maintainability/Readability is not optimization... Pin
Thomas Weller31-Mar-09 8:14
Thomas Weller31-Mar-09 8:14 
GeneralRe: Maintainability/Readability is not optimization... Pin
Jon Rista31-Mar-09 8:18
Jon Rista31-Mar-09 8:18 
GeneralRe: Maintainability/Readability is not optimization... Pin
Thomas Weller31-Mar-09 8:25
Thomas Weller31-Mar-09 8:25 
GeneralRe: Maintainability/Readability is not optimization... Pin
Ben Morrison31-Mar-09 12:47
Ben Morrison31-Mar-09 12:47 
GeneralRe: Maintainability/Readability is not optimization... Pin
Jon Rista31-Mar-09 15:16
Jon Rista31-Mar-09 15:16 
GeneralRe: Maintainability/Readability is not optimization... Pin
Thomas Weller31-Mar-09 21:00
Thomas Weller31-Mar-09 21:00 
GeneralRe: Maintainability/Readability is not optimization... Pin
PedroMC1-Apr-09 1:53
PedroMC1-Apr-09 1:53 
GeneralMaintainability, Readability, and Reusability Pin
Thomas Weller31-Mar-09 7:32
Thomas Weller31-Mar-09 7:32 
Average source code is read about 10 times more often than it takes time to write it. And the average maintenance costs of software are also about ten times the amount of the costs of writing it.

From these facts alone, it should be clear, what code should be optimised for: for the reader and maintainer - and if you ever have inherited some foreign code that turned out to be a complete mess (and who has not) and tried to make sense of it, you know what I am talking about... Dead | X|

If it comes to other kinds of optimisations: I do it only when there really is a problem in the field, or it is clearly foreseeable, but never ever proactively (i.e. I never have optimisations in mind when I initially write code, the only things I care for in that moment are simplicity and correctness).

Regards
Thomas

www.thomas-weller.de

Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
Programmer - an organism that turns coffee into software.


GeneralRe: Maintainability, Readability, and Reusability Pin
Viral Upadhyay1-Apr-09 18:50
Viral Upadhyay1-Apr-09 18:50 
GeneralOptimize for code simplicity and correctness PinPopular
PedroMC31-Mar-09 0:17
PedroMC31-Mar-09 0:17 
GeneralRe: Optimize for code simplicity and correctness Pin
Jon Rista31-Mar-09 6:28
Jon Rista31-Mar-09 6:28 
GeneralRe: Optimize for code simplicity and correctness Pin
PedroMC31-Mar-09 7:10
PedroMC31-Mar-09 7:10 
GeneralRe: Optimize for code simplicity and correctness Pin
Jon Rista31-Mar-09 7:33
Jon Rista31-Mar-09 7:33 
GeneralRe: Optimize for code simplicity and correctness Pin
Nemanja Trifunovic31-Mar-09 6:33
Nemanja Trifunovic31-Mar-09 6:33 

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.