wordfor

edge case

noun

Logic & reasoning

  1. An input or situation at the extreme of what is expected, such as empty, zero, maximum or simultaneous. Edge cases for a date picker: February 29, daylight saving transitions, and year 9999.

In plain words

  • weird inputs break it
  • what about when the list is empty
  • unusual situations
  • it breaks with zero or negative numbers

See also off-by-one error vacuously true invariant

Find similar words