Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap


You are here: irt.org | FOLDOC | zeroth

<jargon> First.

Since zero is the lowest value of an unsigned integer, which is one of the most fundamental types in programming and hardware design, it is often natural to count from zero rather than one, especially when the integer is actually an index or offset, as used when addressing hardware and arrays.

Hackers, computer scientists and pure mathematicians often like to call the first chapter of a publication "Chapter 0", especially if it is of an introductory nature (one of the classic instances was in the First Edition of K&R).

Zero-based numbering tends to reduce fencepost errors, though it cannot eliminate them entirely.

Logically, the next item after the zeroth should be the "oneth" but this is never used.

[Dijkstra, "Why Numbering Should Start at Zero" (http://www.cs.utexas.edu/users/EWD/transcriptions/EWD08xx/EWD831.html)].

[Jargon File]


Nearby terms: zero assignment « zero-content « Zero Insertion Force « zeroth » ZEST » ZetaLisp » zetta-

FOLDOC, Topics, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, ?, ALL

©2018 Martin Webb