JargonFile/original/html/Z/zeroth.html

15 lines
2.6 KiB
HTML
Raw Normal View History

2014-03-27 18:54:56 +00:00
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>zeroth</title><link rel="stylesheet" href="../../jargon.css" type="text/css"/><meta name="generator" content="DocBook XSL Stylesheets V1.61.0"/><link rel="home" href="../index.html" title="The Jargon File"/><link rel="up" href="../Z.html" title="Z"/><link rel="previous" href="Zero-One-Infinity-Rule.html" title="Zero-One-Infinity Rule"/><link rel="next" href="zigamorph.html" title="zigamorph"/></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">zeroth</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="Zero-One-Infinity-Rule.html">Prev</a><EFBFBD></td><th width="60%" align="center">Z</th><td width="20%" align="right"><EFBFBD><a accesskey="n" href="zigamorph.html">Next</a></td></tr></table><hr/></div><dt><a id="zeroth"/><dt xmlns="" id="zeroth"><b>zeroth</b>: <span xmlns="http://www.w3.org/1999/xhtml" class="pronunciation">/zee<65>rohth/</span>, <span xmlns="http://www.w3.org/1999/xhtml" class="grammar">adj.</span></dt></dt><dd><p> First. Among software designers, comes from C's and LISP's 0-based
indexing of arrays. Hardware people also tend to start counting at 0
instead of 1; this is natural since, e.g., the 256 states of 8 bits
correspond to the binary numbers 0, 1, ..., 255 and the digital
devices known as <span class="firstterm">counters</span> count in
this way.</p><p>Hackers and computer scientists often like to call the first chapter
of a publication &#8216;Chapter 0&#8217;, especially if it is of an
introductory nature (one of the classic instances was in the First Edition
of <a href="../K/K-ampersand-R.html"><i class="glossterm">K&amp;R</i></a>). In recent
years this trait has also been observed among many pure mathematicians (who
have an independent tradition of numbering from 0). Zero-based numbering
tends to reduce <a href="../F/fencepost-error.html"><i class="glossterm">fencepost error</i></a>s, though it cannot
eliminate them entirely.</p></dd><div class="navfooter"><hr/><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="Zero-One-Infinity-Rule.html">Prev</a><EFBFBD></td><td width="20%" align="center"><a accesskey="u" href="../Z.html">Up</a></td><td width="40%" align="right"><EFBFBD><a accesskey="n" href="zigamorph.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Zero-One-Infinity Rule<6C></td><td width="20%" align="center"><a accesskey="h" href="../index.html">Home</a></td><td width="40%" align="right" valign="top"><EFBFBD>zigamorph</td></tr></table></div></body></html>