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

Survey Results

Which of the following programming errors do you feel you make the most?

Survey period: 25 Feb 2019 to 4 Mar 2019

An no, there's no "I don't make coding errors" option.
OptionVotes% 
Syntax errors (eg typos, missing semi-colon etc)52151.58
null reference error30630.30
Off-by-1 errors11711.58
Logic errors (eg == instead of !=, messing up AND NOT ORs etc)17417.23
Equivalence instead of Assignment (= instead of ==)888.71
Wrong type848.32
Using uninitialised variables or pointers939.21
Memory leak (and memory management in general)11911.78
Other14414.26
I don't code.262.57
Respondents were allowed to choose more than one answer; totals may not add up to 100%



 
GeneralOther - Typos Pin
Dar Brett3-Mar-19 1:03
Dar Brett3-Mar-19 1:03 
GeneralOther - side effects Pin
Manish K. Agarwal27-Feb-19 19:25
Manish K. Agarwal27-Feb-19 19:25 
GeneralHow is the "billion dollar mistake" not on top? Pin
Sander Rossel27-Feb-19 5:58
professionalSander Rossel27-Feb-19 5:58 
Generalmis-balanced brackets Pin
Pete Lomax Member 1066450526-Feb-19 23:59
professionalPete Lomax Member 1066450526-Feb-19 23:59 
GeneralRe: mis-balanced brackets Pin
kalberts27-Feb-19 0:14
kalberts27-Feb-19 0:14 
GeneralSynchronization errors Pin
kalberts26-Feb-19 4:50
kalberts26-Feb-19 4:50 
GeneralMagic strings Pin
Duncan Edwards Jones26-Feb-19 2:54
professionalDuncan Edwards Jones26-Feb-19 2:54 
GeneralRe: Magic strings Pin
Manish K. Agarwal27-Feb-19 19:23
Manish K. Agarwal27-Feb-19 19:23 
GeneralAs THE model of Pin
W Balboos, GHB26-Feb-19 2:54
W Balboos, GHB26-Feb-19 2:54 
GeneralNot converting string to float before plotting Pin
Amarnath S25-Feb-19 22:29
professionalAmarnath S25-Feb-19 22:29 
GeneralFirst time round Pin
irneb25-Feb-19 22:25
irneb25-Feb-19 22:25 
GeneralUsually mine are caught by the IDE or compiler Pin
John R. Shaw25-Feb-19 8:39
John R. Shaw25-Feb-19 8:39 
GeneralIn Javascript, most of the above, in C#, none of the above Pin
Marc Clifton25-Feb-19 2:47
mvaMarc Clifton25-Feb-19 2:47 
GeneralRe: In Javascript, most of the above, in C#, none of the above Pin
ronlease25-Feb-19 3:17
professionalronlease25-Feb-19 3:17 
GeneralRe: In Javascript, most of the above, in C#, none of the above Pin
Marc Clifton25-Feb-19 5:03
mvaMarc Clifton25-Feb-19 5:03 
GeneralRe: In Javascript, most of the above, in C#, none of the above Pin
ronlease26-Feb-19 3:51
professionalronlease26-Feb-19 3:51 
GeneralRe: In Javascript, most of the above, in C#, none of the above Pin
kalberts27-Feb-19 0:27
kalberts27-Feb-19 0:27 
With the Coverity code checker I was smacked on my fingers: The automatic garbage collection covers memory objects alone. Even though your object goes out of scope, if you have plenty of RAM it may not be garbage colleced in some time, and until that happens, it might hold e.g. SMTP or HTTP connections, unless you explicitly dispose those resourceds. The same goes for p/invoke: They may hold resources longer than necessary, possibly blocking other users/applications.

When working in a malloc/free environment, it comes natural to consider such situations. When I moved into C#, I was so happy about the runtime system handling all dynamic memory issues, and left it all to the runtime. It took quite some time before I learned that memory is memory, other resources are not managed quite as well by the memory allocaton system.
GeneralRe: In Javascript, most of the above, in C#, none of the above Pin
Frank Malcolm26-Feb-19 14:56
Frank Malcolm26-Feb-19 14:56 
GeneralRe: In Javascript, most of the above, in C#, none of the above Pin
Chris Maunder3-Mar-19 12:54
cofounderChris Maunder3-Mar-19 12:54 
GeneralRe: In Javascript, most of the above, in C#, none of the above Pin
Dejan Petrovic3-Mar-19 16:47
Dejan Petrovic3-Mar-19 16:47 
GeneralRe: In Javascript, most of the above, in C#, none of the above Pin
Chris Maunder4-Mar-19 9:42
cofounderChris Maunder4-Mar-19 9:42 
GeneralI don't make most programming errors - per se Pin
Slacker00725-Feb-19 1:48
professionalSlacker00725-Feb-19 1:48 
GeneralRe: I don't make most programming errors - per se Pin
Dan Neely25-Feb-19 4:41
Dan Neely25-Feb-19 4:41 
GeneralRe: I don't make most programming errors - per se Pin
Slacker00725-Feb-19 5:22
professionalSlacker00725-Feb-19 5:22 
GeneralI don't make coding mistakes... PinPopular
#realJSOP25-Feb-19 1:15
mve#realJSOP25-Feb-19 1:15 

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.