StackOverflow Questions for Tag: defensive-programming

Carl Patenaude Poulin
Carl Patenaude Poulin

Reputation: 6570

Hypothesis: test defensive programming

Score: -4

Views: 57

Answers: 2

Read More
Andrew Matthews
Andrew Matthews

Reputation: 3146

Erlang's let-it-crash philosophy - applicable elsewhere?

Score: 76

Views: 16818

Answers: 9

Read More
JAN
JAN

Reputation: 21855

What's the purpose of using braces (i.e. {}) for a single-line if or loop?

Score: 341

Views: 52715

Answers: 25

Read More
Tim
Tim

Reputation: 99398

How can this code be changed to have no vulnerability to arithmetic overflow?

Score: 0

Views: 207

Answers: 1

Read More
oopsi
oopsi

Reputation: 2019

When to make constructor explicit in C++

Score: 48

Views: 30276

Answers: 1

Read More
user2958725
user2958725

Reputation: 1435

Is having multiple layers of data validation in a program defense in depth against malfunction, or code-cluttering paranoia?

Score: 2

Views: 756

Answers: 2

Read More
Youzohka
Youzohka

Reputation: 5

using try/except & while loop for calculator in python

Score: 0

Views: 1187

Answers: 3

Read More
CPlus
CPlus

Reputation: 4597

Can [NSApplication sharedApplication] ever return nil?

Score: -2

Views: 626

Answers: 1

Read More
lebron2323
lebron2323

Reputation: 1040

process self defence like antivirus

Score: 2

Views: 760

Answers: 3

Read More
Nicholas Mancuso
Nicholas Mancuso

Reputation: 11877

When should I use Debug.Assert()?

Score: 272

Views: 81377

Answers: 20

Read More
Vermillion Orange
Vermillion Orange

Reputation: 91

JS Defensive Error Handling try catch while loop error

Score: 1

Views: 95

Answers: 1

Read More
Boris Reif
Boris Reif

Reputation: 143

How to ignore corrupted files?

Score: 1

Views: 710

Answers: 2

Read More
yazz.com
yazz.com

Reputation: 58756

Why are fail fast style programs shorter than defensive style programs?

Score: 7

Views: 1726

Answers: 3

Read More
SuperJMN
SuperJMN

Reputation: 13952

How to use the Either type in C#?

Score: 14

Views: 21318

Answers: 2

Read More
Winz
Winz

Reputation: 506

How to hide strings in a exe or a dll?

Score: 36

Views: 35464

Answers: 9

Read More
NeilD
NeilD

Reputation: 2298

XmlSerializer - How can I set a default when deserializing an enum?

Score: 5

Views: 3915

Answers: 3

Read More
Erik Andersson
Erik Andersson

Reputation: 21

Defensive programming for delete function in views Django

Score: 2

Views: 285

Answers: 2

Read More
Poison
Poison

Reputation: 409

Why doesn't the rangeCheck method in the java.util.ArrayList class check for negative index?

Score: -3

Views: 959

Answers: 2

Read More
Astemir Almov
Astemir Almov

Reputation: 446

Nullable reference types and null-oblivious libraries

Score: 5

Views: 790

Answers: 0

Read More
Hassan Syed
Hassan Syed

Reputation: 20475

Getting meaningful error messages from fstream's in C++

Score: 14

Views: 2397

Answers: 3

Read More
PreviousPage 1Next