fencepost problem

Definition from Wiktionary, the free dictionary
Jump to: navigation, search

English[edit]

Wikipedia has an article on:

Wikipedia

Etymology[edit]

By analogy with fence-building. If one wants to say "lay a fencepost, then a length of fence, then repeat", then a special case must be made for the final fencepost. If one wants to say "lay a length of fence, then a fencepost, then repeat", then a special case must be made for the initial fencepost.

Noun[edit]

fencepost problem ‎(plural fencepost problems)

  1. (computing) In computer programming, a problem dealing with how to treat the initial or boundary values of a discrete problem.

See also[edit]