Click here to Skip to main content
15,122,559 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 
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 
Maybe it's just me, but I've never came across another dev's production code that had too many comments, a couple dumb ones, sure, but not an obscene amount. The exception is tutorial code that does have a massive amount of comments to help you learn something new, and not meant to ever go into production.

Most of the other dev's I've worked with in my career don't comment anything (unless it's commented code they don't need), and break all the other readable rules also. one dev didn't like variables or function names over 3 characters, most defaulting to 1 character when ever possible and reusing variables for other uses, another put the whole novel into a name: _ThisIsACountingVariableForTheIndexerFunction. Both were hard to read and understand what the code was actually doing.
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" PinPopular
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.