Click here to Skip to main content

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)

OptionVotes% 
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? PinmemberEddy Vluggen20-May-12 4:56 
GeneralRarely, only if it makes my code crash faster PinmemberNicolas Dorier18-May-12 12:06 
GeneralI do offensive programming [modified] PinmemberXiangyang Liu 刘向阳16-May-12 8:22 
GeneralOh you mean future proofing PinmemberMycroft Holmes15-May-12 21:38 
Generalno PinmemberMichael Bergman15-May-12 13:29 
GeneralRe: no PinprotectorPete O'Hanlon17-May-12 1:42 
GeneralRe: no PinmemberMichael Bergman18-May-12 9:56 
GeneralGenerally, yes, but it isn't always necessary PinmemberGregory.Gadow15-May-12 9:22 
GeneralShouldn't this be "Do you do sensible programming?" PinmemberEksith15-May-12 9:03 
GeneralKnow Thy Enemy PinmemberW∴ Balboos15-May-12 5:12 
GeneralDebug.Assert PinmemberAndy Missico15-May-12 3:41 
GeneralRe: Debug.Assert PinmemberPhilippe Mori17-May-12 3:04 
GeneralSane amount of Defensive Programming PinmemberJyothikarthik_N15-May-12 3:12 
GeneralRe: Sane amount of Defensive Programming PinmemberGregory.Gadow15-May-12 9:22 
GeneralRe: Sane amount of Defensive Programming [modified] PinmemberVivic18-May-12 20:22 
GeneralSometimes PinmemberHaBiX14-May-12 23:41 
GeneralWhat's defensive? PinmemberRedSonja14-May-12 21:59 
Generaldefensive programming only for production code Pinmemberembix14-May-12 21:27 
Generalwe do offensive programming (sounds better!) Pinmemberdevvvy14-May-12 21:03 
GeneralRe: we do offensive programming (sounds better!) PinmemberRedSonja14-May-12 21:52 
GeneralBuilt-in vs Ad hoc PinmemberPeter N Roth14-May-12 14:12 
GeneralRe: Built-in vs Ad hoc PinmemberRob Grainger14-May-12 23:41 
GeneralRe: Built-in vs Ad hoc PinmemberPeter N Roth15-May-12 6:29 
GeneralRe: Built-in vs Ad hoc PinmemberCollin Jasnoch15-May-12 8:02 
Generalfensive PinmemberTinyRamsamy14-May-12 12:13 
GeneralDefensive Mostly PinmemberJackDingler14-May-12 7:32 
GeneralDefensive vs. Protected PinmemberSASS_Shooter14-May-12 7:13 
GeneralI have no idea of what you speak PinmvpCPallini14-May-12 6:39 
GeneralDefensive = secure Pinmembered welch14-May-12 6:22 
GeneralDefensive, but not too defensive PinmemberNemanja Trifunovic14-May-12 4:43 
GeneralNever developed a software with granted foreseeable usage... PinmemberAlexCode14-May-12 2:50 
GeneralRe: Never developed a software with granted foreseeable usage... PinmemberRedSonja14-May-12 20:51 
GeneralRe: Never developed a software with granted foreseeable usage... PinmemberAlexCode14-May-12 21:15 
GeneralRe: Never developed a software with granted foreseeable usage... PinmemberRedSonja14-May-12 21:51 
GeneralRe: Never developed a software with granted foreseeable usage... PinmemberAlexCode14-May-12 21:58 
GeneralSaid yes to defensive programming but... PinmemberPedroMC14-May-12 1:28 
GeneralNo choice PinmemberRedSonja14-May-12 0:32 
GeneralRe: No choice PinmemberMichP14-May-12 8:36 
GeneralRe: No choice PinmemberRedSonja14-May-12 20:36 
GeneralWhen given the time PinmemberChrisElston13-May-12 23:53 
GeneralRe: When given the time PinmemberSlacker00714-May-12 0:14 
GeneralRe: When given the time PinmemberPedroMC14-May-12 1:36 
GeneralRe: When given the time PinmemberChrisElston14-May-12 1:40 
GeneralRe: When given the time PinmemberPedroMC14-May-12 1:49 
GeneralRe: When given the time PinmemberChrisElston14-May-12 1:54 
GeneralRe: When given the time PinmemberFabio Franco14-May-12 10:15 
GeneralWe have many defensive programmers. Pinmembermojp13-May-12 23:16 
GeneralRe: We have many defensive programmers. Pinmemberjim lahey13-May-12 23:50 
GeneralYes, I do PinmemberPrasad_Kulkarni13-May-12 22:42 
GeneralRe: Yes, I do PinmemberAlexCode14-May-12 21:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    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
Web01 | 2.8.140926.1 | Last Updated 10 Aug 2007
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid