Click here to Skip to main content
13,046,773 members (40,923 online)

Survey Results

What are the worst programming habits

Survey period: 7 Jul 2014 to 14 Jul 2014

Inspired by a rant-fest

No comments in code105740.951057 votes, 40.95%
Terrible variable names135752.581357 votes, 52.58%
Bad / dangerous code formatting69526.93695 votes, 26.93%
Mystery side-effects in code107641.691076 votes, 41.69%
Using magic numbers64424.95644 votes, 24.95%
Leaving commented-out code hanging around too long60923.60609 votes, 23.60%
Repeating code (Cut and Paste programming)128549.791285 votes, 49.79%
Poor program structure110742.891107 votes, 42.89%
Writing code that assumes a default behaviour67326.08673 votes, 26.08%
Swallowing errors95036.81950 votes, 36.81%
Not checking input parameters / return values / null testing105840.991058 votes, 40.99%
Respondents were allowed to choose more than one answer; totals may not add up to 100%

Generalconcise guidelines, supporting tools, awareness Pin
Andreas Gieriet13-Jul-14 21:24
professionalAndreas Gieriet13-Jul-14 21:24 
GeneralHow about creating function in order to run a simple query Pin
Mohibur Rashid13-Jul-14 17:00
memberMohibur Rashid13-Jul-14 17:00 
GeneralC is the worst Pin
Steppenwolfe13-Jul-14 6:22
memberSteppenwolfe13-Jul-14 6:22 
GeneralRe: C is the worst Pin
Mohibur Rashid13-Jul-14 16:57
memberMohibur Rashid13-Jul-14 16:57 
GeneralRe: C is the worst Pin
Andreas Gieriet13-Jul-14 21:13
professionalAndreas Gieriet13-Jul-14 21:13 
GeneralRe: C is the worst Pin
Austin Mullins14-Jul-14 8:41
memberAustin Mullins14-Jul-14 8:41 
GeneralOh , Hai Pin
sloppy slim12-Jul-14 22:20
membersloppy slim12-Jul-14 22:20 
GeneralInteresting selections made Pin
Dennis E White11-Jul-14 8:26
memberDennis E White11-Jul-14 8:26 
GeneralRe: Interesting selections made Pin
Adam David Hill11-Jul-14 13:28
professionalAdam David Hill11-Jul-14 13:28 
GeneralDue to Variable naming .... i, j ,k ..... Pin
RhishikeshLathe9-Jul-14 22:17
professionalRhishikeshLathe9-Jul-14 22:17 

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.

Advertise | Privacy | Mobile
Web02 | 2.8.170713.1 | Last Updated 10 Aug 2007
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid