Click here to Skip to main content
12,547,806 members (32,566 online)

Survey Results

Do you do defensive programming?

Survey period: 14 May 2012 to 21 May 2012

"Defensive programming is ... intended to ensure the continuing function of a piece of software in spite of unforeseeable usage of said software". ie provide air-bags and ABS for your code. (suggested by the enigmatic V)

Yes, I use defensive programming always19316.67193 votes, 16.67%
I use defensive programming mostly51044.04510 votes, 44.04%
I use defensive programming rarely19817.10198 votes, 17.10%
No, I don't use defensive programming design595.0959 votes, 5.09%
I have no idea of what you speak.19817.10198 votes, 17.10%

AnswerWhat? Pin
Eddy Vluggen20-May-12 4:56
memberEddy Vluggen20-May-12 4:56 
GeneralRarely, only if it makes my code crash faster Pin
Nicolas Dorier18-May-12 12:06
memberNicolas Dorier18-May-12 12:06 
GeneralI do offensive programming PinPopular
Xiangyang Liu 刘向阳16-May-12 8:22
memberXiangyang Liu 刘向阳16-May-12 8:22 
GeneralOh you mean future proofing Pin
Mycroft Holmes15-May-12 21:38
memberMycroft Holmes15-May-12 21:38 
Generalno Pin
Michael Bergman15-May-12 13:29
memberMichael Bergman15-May-12 13:29 
GeneralRe: no Pin
Pete O'Hanlon17-May-12 1:42
protectorPete O'Hanlon17-May-12 1:42 
GeneralRe: no Pin
Michael Bergman18-May-12 9:56
memberMichael Bergman18-May-12 9:56 
GeneralGenerally, yes, but it isn't always necessary Pin
Gregory.Gadow15-May-12 9:22
memberGregory.Gadow15-May-12 9:22 
GeneralShouldn't this be "Do you do sensible programming?" Pin
Eksith15-May-12 9:03
memberEksith15-May-12 9:03 
GeneralKnow Thy Enemy Pin
W∴ Balboos15-May-12 5:12
memberW∴ Balboos15-May-12 5:12 
GeneralDebug.Assert Pin
Andy Missico15-May-12 3:41
memberAndy Missico15-May-12 3:41 
GeneralRe: Debug.Assert Pin
Philippe Mori17-May-12 3:04
memberPhilippe Mori17-May-12 3:04 
GeneralSane amount of Defensive Programming Pin
Jyothikarthik_N15-May-12 3:12
memberJyothikarthik_N15-May-12 3:12 
GeneralRe: Sane amount of Defensive Programming Pin
Gregory.Gadow15-May-12 9:22
memberGregory.Gadow15-May-12 9:22 
GeneralRe: Sane amount of Defensive Programming Pin
Vivic18-May-12 20:22
memberVivic18-May-12 20:22 
GeneralSometimes Pin
HaBiX14-May-12 23:41
memberHaBiX14-May-12 23:41 
GeneralWhat's defensive? Pin
RedSonja14-May-12 21:59
memberRedSonja14-May-12 21:59 
Generaldefensive programming only for production code Pin
embix14-May-12 21:27
memberembix14-May-12 21:27 
Generalwe do offensive programming (sounds better!) Pin
devvvy14-May-12 21:03
memberdevvvy14-May-12 21:03 
GeneralRe: we do offensive programming (sounds better!) Pin
RedSonja14-May-12 21:52
memberRedSonja14-May-12 21:52 
GeneralBuilt-in vs Ad hoc Pin
Peter N Roth14-May-12 14:12
memberPeter N Roth14-May-12 14:12 
GeneralRe: Built-in vs Ad hoc Pin
Rob Grainger14-May-12 23:41
memberRob Grainger14-May-12 23:41 
GeneralRe: Built-in vs Ad hoc Pin
Peter N Roth15-May-12 6:29
memberPeter N Roth15-May-12 6:29 
GeneralRe: Built-in vs Ad hoc Pin
Collin Jasnoch15-May-12 8:02
memberCollin Jasnoch15-May-12 8:02 
Generalfensive Pin
TinyRamsamy14-May-12 12:13
memberTinyRamsamy14-May-12 12:13 

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.161021.1 | Last Updated 10 Aug 2007
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid