0%

off-by-one error

O o

Transcription

    • US Pronunciation
    • US IPA
    • US Pronunciation
    • US IPA

Definition of off-by-one error words

  • noun Technical meaning of off-by-one error (programming)   (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. 1

Information block about the term

Parts of speech for Off-by-one error

noun
adjective
verb
adverb
pronoun
preposition
conjunction
determiner
exclamation

See also

Matching words

Was this page helpful?
Yes No
Thank you for your feedback! Tell your friends about this page
Tell us why?