2000-01-08

fencepost error

A problem with the discrete equivalent of a boundary condition, often exhibited in programs by iterative loops. From the following problem: "If you build a fence 100 feet long with posts 10 feet apart, how many posts do you need?" (Either 9 or 11 is a better answer than the obvious 10.)

In acknowledgement of our entry into those years numbered 2000 and above.

More information at The Jargon File.

No comments: