Chuyển bộ gõ


Từ điển Máy Tính - Foldoc Dictionary
zeroth



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]

Last updated: 2010-02-28




Giới thiệu VNDIC.net | Plugin từ diển cho Firefox | Từ điển cho Toolbar IE | Tra cứu nhanh cho IE | Vndic bookmarklet | Học từ vựng | Vndic trên web của bạn

© Copyright 2006-2024 VNDIC.NET & VDICT.CO all rights reserved.