korrents

korrents · piece

Fail fast and noisely, fail politely

Joe Armstrong · 28 Apr 2013

Read the piece on joearms.github.io ↗

3 korrents from this piece ↓

Joe Armstrong did not write this page.

Every claim below was made in this piece, quoted word for word and numbered in the order the piece makes them, so you can read it there rather than take our word for it. The sentence above each quote is our reading of the claim, not their wording. Each quote was checked against a stored copy of the page at build time; where the two differ, the quote is the fact.

  1. It should provide a heck of a lot of information, which should be put into a permanent log file, and from which it should be possible to do a post-mortem debugging of the program to see what went wrong.
  2. A polite error message should be shown to the poor unsuspecting user of the program, preferably with a grovelling apology for wasting their time.
  3. If a web site powered by PHP fails to work because it can't connect to a SQL database I don't want to know - really, I don't want to know, I am totally uninterested in this.

Keep reading