wordfor

fail fast

phrase

Software design

  1. Stop and report an error as soon as something is wrong, instead of carrying on with bad data and failing later somewhere confusing. The service now fails fast if DATABASE_URL is missing, instead of starting and timing out on the first request.

In plain words

  • the error shows up far from where the problem is
  • crash early instead of continuing with bad data
  • check the config at startup
  • it silently carries on with a null

See also parse, don't validate invariant guard clause

Find similar words