<s>
Offensive	B-Application
programming	I-Application
is	O
a	O
name	O
used	O
for	O
the	O
branch	O
of	O
defensive	B-Application
programming	I-Application
that	O
expressly	O
departs	O
from	O
defensive	O
principles	O
when	O
dealing	O
with	O
errors	O
resulting	O
from	O
software	B-Error_Name
bugs	I-Error_Name
.	O
</s>
<s>
Although	O
the	O
name	O
is	O
a	O
reaction	O
to	O
extreme	O
interpretations	O
of	O
defensive	B-Application
programming	I-Application
,	O
the	O
two	O
are	O
not	O
fundamentally	O
in	O
conflict	O
.	O
</s>
<s>
Rather	O
,	O
offensive	B-Application
programming	I-Application
adds	O
an	O
explicit	O
priority	O
of	O
not	O
tolerating	B-General_Concept
errors	I-General_Concept
in	O
wrong	O
places	O
:	O
the	O
point	O
where	O
it	O
departs	O
from	O
extreme	O
interpretations	O
of	O
defensive	B-Application
programming	I-Application
is	O
in	O
preferring	O
the	O
presence	O
of	O
errors	O
from	O
within	O
the	O
program	O
's	O
line	O
of	O
defense	O
to	O
be	O
blatantly	O
obvious	O
over	O
the	O
hypothetical	O
safety	O
benefit	O
of	O
tolerating	O
them	O
.	O
</s>
<s>
The	O
premise	O
for	O
offensive	B-Application
programming	I-Application
is	O
to	O
distinguish	O
between	O
expectable	O
errors	O
,	O
coming	O
from	O
outside	O
the	O
program	O
's	O
line	O
of	O
defense	O
,	O
however	O
improbable	O
,	O
versus	O
preventable	O
internal	O
errors	O
that	O
shall	O
not	O
happen	O
if	O
all	O
its	O
software	O
components	O
behave	O
as	O
expected	O
.	O
</s>
<s>
Offensive	B-Application
programming	I-Application
is	O
concerned	O
with	O
failing	O
,	O
so	O
to	O
disprove	O
the	O
programmer	O
's	O
assumptions	O
.	O
</s>
<s>
Remove	O
shortcut	O
code	O
(	O
see	O
the	O
strategy	O
pattern	O
)	O
:	O
A	O
simplified	O
code	O
path	O
may	O
hide	O
bugs	B-Error_Name
in	O
a	O
more	O
generic	O
code	O
path	O
if	O
the	O
generic	O
code	O
almost	O
never	O
gets	O
to	O
run	O
.	O
</s>
