Click here to Skip to main content
15,115,960 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%



 
GeneralAssuming rather than measuring Pin
Duncan Edwards Jones2-Jul-21 3:56
professionalDuncan Edwards Jones2-Jul-21 3:56 
GeneralAll of the above Pin
Daniel Pfeffer30-Jun-21 23:51
professionalDaniel Pfeffer30-Jun-21 23:51 
GeneralUnnecessary one-line functions Pin
rjmoses30-Jun-21 2:22
professionalrjmoses30-Jun-21 2:22 
IMO, right behind uncommented, obtuse code goes a plethora of one line functions that do the obvious:

int Add(int a, int b)
{
return a + b;
}

int x = Add(y, 1);

Absolutely unnecessary--unless a person is getting paid by lines of code produced.
GeneralOther: violating the Boy Scouts rule Pin
Ravi Bhavnani29-Jun-21 6:53
professionalRavi Bhavnani29-Jun-21 6:53 
GeneralRe: Other: violating the Boy Scouts rule Pin
Dan Neely30-Jun-21 3:59
MemberDan Neely30-Jun-21 3:59 
Generaltoo much comments? Pin
Matt McGuire29-Jun-21 5:47
professionalMatt McGuire29-Jun-21 5:47 
GeneralRe: too much comments? Pin
MichaelLuna29-Jun-21 6:51
MemberMichaelLuna29-Jun-21 6:51 
GeneralRe: too much comments? Pin
W Balboos, GHB29-Jun-21 8:56
mveW Balboos, GHB29-Jun-21 8:56 
GeneralRe: too much comments? Pin
Vivi Chellappa1-Jul-21 19:48
professionalVivi Chellappa1-Jul-21 19:48 
Generalthe smart git guy Pin
rallets29-Jun-21 5:03
Memberrallets29-Jun-21 5:03 
GeneralOther: Making things harder or illogical just to seem professional Pin
Bruce Patin29-Jun-21 4:17
MemberBruce Patin29-Jun-21 4:17 
GeneralOther: not following standards Pin
PSU Steve29-Jun-21 4:10
professionalPSU Steve29-Jun-21 4:10 
GeneralRe: Other: not following standards Pin
rjmoses30-Jun-21 2:31
professionalrjmoses30-Jun-21 2:31 
GeneralSource control commit messages Pin
decaffeinatedMonkey29-Jun-21 2:51
MemberdecaffeinatedMonkey29-Jun-21 2:51 
GeneralRe: Source control commit messages Pin
Matt McGuire29-Jun-21 5:49
professionalMatt McGuire29-Jun-21 5:49 
GeneralOther - Leaving Unused Code/Tables around "just in case" Pin
Member 1454164829-Jun-21 2:39
professionalMember 1454164829-Jun-21 2:39 
GeneralRe: Other - Leaving Unused Code/Tables around "just in case" Pin
r_hyde30-Jun-21 11:16
Memberr_hyde30-Jun-21 11:16 
GeneralPrematurely optimising Pin
KateAshman29-Jun-21 0:27
MemberKateAshman29-Jun-21 0:27 
GeneralMy others Pin
JohaViss6129-Jun-21 0:06
professionalJohaViss6129-Jun-21 0:06 
GeneralAlmost all of them, and "other" Pin
Greg Utas28-Jun-21 8:59
mvaGreg Utas28-Jun-21 8:59 
GeneralRe: Almost all of them, and "other" Pin
Matt Bond29-Jun-21 4:24
MemberMatt Bond29-Jun-21 4:24 
GeneralRe: Almost all of them, and "other" Pin
Greg Utas29-Jun-21 4:54
mvaGreg Utas29-Jun-21 4:54 
GeneralRe: Almost all of them, and "other" Pin
Bernhard Hiller29-Jun-21 21:24
MemberBernhard Hiller29-Jun-21 21:24 
GeneralRe: Almost all of them, and "other" Pin
Greg Utas30-Jun-21 1:14
mvaGreg Utas30-Jun-21 1:14 
AnswerOther: not working with others Pin
acomputerdog28-Jun-21 8:59
professionalacomputerdog28-Jun-21 8:59 

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.