Off-by-one error

(Or “Obi-Wan error”) An exceedingly common error induced in many ways, such as by starting at zero when you should have started at one or vice-versa, or by writing “< N" instead of "<= N" or vice-versa. Often confounded with fencepost error, which is properly a particular subtype of it. The term zeroth corrects the linguistic off-by-one error of, e.g., referring to the "1st" element of an array whose indexes start from zero. [Jargon File] (1998-09-21)

Read Also:

  • Off-camera

    [awf-kam-er-uh, -kam-ruh, of-] /ˈɔfˈkæm ər ə, -ˈkæm rə, ˈɒf-/ adjective 1. occurring as part of a film or program but outside the range of the motion-picture or television camera: the off-camera shouts of a mob. adverb 2. out of the range of a motion-picture or television camera: The star walked off-camera at the end of […]

  • Off-campus

    [awf-kam-puh s, of-] /ˈɔfˈkæm pəs, ˈɒf-/ adjective 1. located or available outside a campus. adverb 2. outside or away from a campus.

  • Offcast

    [awf-kast, -kahst, of-] /ˈɔfˌkæst, -ˌkɑst, ˈɒf-/ adjective 1. discarded or rejected; castoff: his offcast suits. noun 2. a castoff person or thing.

  • Off-center

    [awf-sen-ter, of-] /ˈɔfˈsɛn tər, ˈɒf-/ adjective 1. not centered; diverging from the exact center. 2. unconventional; eccentric: off-center characters who disrupt other people’s lives.

  • Off-chance

    noun 1. See at (def 17). noun 1. a slight possibility 2. on the off chance, with the hope: on the off chance of getting the job n. 1861, from off (adv.) + chance (n.).

Disclaimer: Off-by-one error definition / meaning should not be considered complete, up to date, and is not intended to be used in place of a visit, consultation, or advice of a legal, medical, or any other professional. All content on this website is for informational purposes only.