Click here to Skip to main content
15,885,366 members

Survey Results

What are the worst habit a developer can have?

Survey period: 28 Jun 2021 to 5 Jul 2021

Obviously not an exhaustive list...

OptionVotes% 
Reinventing the wheel instead of using existing libraries35140.48
Prematurely optimising18821.68
Adding a million features "just in case"35340.72
Not commenting (especially when it's tricky code)43149.71
Commenting too much12214.07
Massively over-engineering things40146.25
Pulling in new technologies / libraries / frameworks for no good reason44150.87
Using the same tool for every single problem11913.73
Leaving edge cases and error handling to others36341.87
5,000 line functions39445.44
Other (please comment)242.77
Respondents were allowed to choose more than one answer; totals may not add up to 100%



 
GeneralRe: all of the above Pin
MichaelLuna29-Jun-21 6:58
MichaelLuna29-Jun-21 6:58 
GeneralOne more ... Pin
Amarnath S28-Jun-21 0:31
professionalAmarnath S28-Jun-21 0:31 
General"Massively over-engineering things"? No, no ... that's a plus! Pin
OriginalGriff27-Jun-21 23:19
mveOriginalGriff27-Jun-21 23:19 
GeneralRe: "Massively over-engineering things"? No, no ... that's a plus! Pin
Jacquers28-Jun-21 23:21
Jacquers28-Jun-21 23:21 
GeneralRe: "Massively over-engineering things"? No, no ... that's a plus! Pin
Matt McGuire29-Jun-21 4:33
professionalMatt McGuire29-Jun-21 4:33 
GeneralRe: "Massively over-engineering things"? No, no ... that's a plus! Pin
Daniel Pfeffer30-Jun-21 23:01
professionalDaniel Pfeffer30-Jun-21 23:01 
GeneralRe: "Massively over-engineering things"? No, no ... that's a plus! Pin
OriginalGriff30-Jun-21 23:28
mveOriginalGriff30-Jun-21 23:28 
GeneralAlmost all of them Pin
den2k8827-Jun-21 20:58
professionalden2k8827-Jun-21 20:58 
First, pulling libraries/frameworks without any reason. That's the easiest way to increase the cost of a project needlessly, since it will require much more knowledge to be maintained, it will introduce dependencies from other suppliers...

Second, not commenting. Unless you have well written design documentation bundled with the code it's really "how to doom a project from the start" because noone else will maintain it in 6 months.

Prematurely optimizing, for those who work in embedded and come from ye olde days of manually chiseling the program bits on the ROMs with a tiny scalpel and powerful goggles. Making code unreadable for no reason at all, and oftentimes precluding actual optimization strategies with bad code.

5000 lines functions. I hate you and be thankful murder is illegal.
GCS d--(d+) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++*      Weapons extension: ma- k++ F+2 X

GeneralEverything and even more Pin
Bernhard Hiller27-Jun-21 20:49
Bernhard Hiller27-Jun-21 20:49 
General(Almost) all of them? Pin
Mike (Prof. Chuck)27-Jun-21 18:35
professionalMike (Prof. Chuck)27-Jun-21 18:35 
GeneralRe: (Almost) all of them? Pin
Bernhard Hiller27-Jun-21 20:52
Bernhard Hiller27-Jun-21 20:52 
GeneralRe: (Almost) all of them? Pin
Mike (Prof. Chuck)28-Jun-21 0:33
professionalMike (Prof. Chuck)28-Jun-21 0:33 
GeneralRe: (Almost) all of them? Pin
Sander Rossel27-Jun-21 22:15
professionalSander Rossel27-Jun-21 22:15 
GeneralRe: (Almost) all of them? Pin
Mike (Prof. Chuck)28-Jun-21 0:38
professionalMike (Prof. Chuck)28-Jun-21 0:38 
GeneralRe: (Almost) all of them? Pin
Sander Rossel28-Jun-21 1:13
professionalSander Rossel28-Jun-21 1:13 
GeneralRe: (Almost) all of them? Pin
Mike (Prof. Chuck)28-Jun-21 1:53
professionalMike (Prof. Chuck)28-Jun-21 1:53 
GeneralRe: (Almost) all of them? Pin
Carl_Sharman28-Jun-21 22:57
Carl_Sharman28-Jun-21 22:57 
GeneralRe: (Almost) all of them? Pin
Julian Ragan29-Jun-21 9:51
Julian Ragan29-Jun-21 9:51 
GeneralRe: (Almost) all of them? Pin
Mike (Prof. Chuck)29-Jun-21 23:04
professionalMike (Prof. Chuck)29-Jun-21 23:04 
GeneralRe: (Almost) all of them? Pin
Member 1046756930-Jun-21 0:58
Member 1046756930-Jun-21 0:58 
GeneralRe: (Almost) all of them? Pin
Nelek29-Jun-21 9:41
protectorNelek29-Jun-21 9:41 

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.