wordfor

defensive design

(dih-FEN-siv dih-ZYNE) noun

  1. The practice of planning for contingencies in the design stage of a project so as to make the misuse of the software impossible, or to minimise the negative consequences. Defensive design made the delete button unusable until the user typed the project name.

Origin

Origin uncertain.

In practice

List the ways a user or caller can misuse an interface, then make the wrong use impossible or cheap: typed confirmations, constrained inputs, undo.

Say to your AI

Apply defensive design to this form and API: list plausible misuses and propose changes that make each impossible or harmless.

In plain words

  • making misuse impossible
  • designing for the ways users will get it wrong
  • preventing mistakes by the shape of the thing
  • building in safeguards against bad input

See also defensive programming antipattern ruin value adaptive reuse

Adapted from Wiktionary (CC BY-SA 4.0).

Find similar words