Bad data should be handled gracefully

up:: Programming best practices ⚐

“Defensive programming”

“Always keep the software running”

This approach values Robustness (always keep the software running).

Here it is important to log odd data. Otherwise the error goes unnoticed.

The approach in tension is Programs should crash early.