Programs should crash early
up:: Programming best practices ⚐
“Never return an inaccurate result”
“Defensive programming is a waste of time. Let is crash” – Joe Armstrong, inventor of Erlang TK
Related idea: Design by Contract.
“A dead program normally does a lot less damage than a crippled one” – The Pragmatic Programmer
Idea in tension: Bad data should be handled gracefully.