r/programming • • Aug 11 '15

Top 10 Useful, Yet Paranoid Java Programming Techniques

http://blog.jooq.org/2015/08/11/top-10-useful-yet-paranoid-java-programming-techniques/
28 Upvotes

35 comments sorted by

View all comments

1

u/alparsla Aug 12 '15

Typical techiques of defensive programming. It may be necessary in legacy, and somewhat critical systems.

https://en.wikipedia.org/wiki/Defensive_programming

The opposite of it is the fail-fast systems.

https://en.wikipedia.org/wiki/Fail-fast

I said "somewhat critical" above, because a critical system must be fail-fast, but sometimes you don't have time and support to do it.