Refers to programming code that is redundant or poorly written. It may also refer to collections of old hardware parts that are obsolete. The term's derivation is unknown, but some think it came from Harvard University's Cruft Laboratory, where discarded equipment had been seen lying around for years.
Download Computer Desktop Encyclopedia to your PC, iPhone or Android.
[very common; back-formation from crufty]
1. n. An unpleasant substance. The dust that gathers under your bed is cruft; the TMRC Dictionary correctly noted that attacking it with a broom only produces more.
2. n. The results of shoddy construction.
3. vt. [from hand cruft, pun on ‘hand craft’] To write assembler code for something normally (and better) done by a compiler (see hand-hacking).
4. n. Excess; superfluous junk; used esp. of redundant or superseded code.
5. [University of Wisconsin] n. Cruft is to hackers as gaggle is to geese; that is, at UW one properly says “a cruft of hackers”.
Cruft is jargon for software or hardware that is of poor quality. The term originates from source code that is rewritten leaving irrelevant or unwanted data within the code.
|
Contents
|
The origin of the term is uncertain, but it may be derived from Harvard University Cruft Laboratory, which was the Harvard Physics Department's radar lab during World War II. As late as the early 1990s, unused technical equipment could be seen stacked in front of Cruft Hall's windows. According to students, if a place filled with useless machinery is called Cruft Hall, the machinery itself must be cruft. This image of "discarded technical clutter" quickly migrated from hardware to software. Cruft may also be a play on the archaic medial "s", rendering "crust" as "cruſt".[1]
Another possible origin is that the word evokes the words crust, fluff and scruffy. The latter word is the source of similar words in Jamaican English such as cruff, meaning scurfy, coarse or uncouth.
The FreeBSD handbook uses the term to refer to leftover object code that accumulates when code has been changed but the program not recompiled.[2] Such cruft can cause the BSD equivalent of Dependency Hell.[citation needed]
In the context of Internet or Web addresses (Uniform Resource Locators or "URLs"), cruft refers to the characters which are relevant or meaningful only to the people who created the site, such as implementation details of the computer system which serves the page. Examples of URL cruft include filename extensions such as .php or .html, and internal organizational details such as /public/ or /~users/john/work/drafts/.[3]
Cruft may also refer to unused and out-of-date computer paraphernalia, collected through upgrading, inheritance, or simple acquisition, both deliberate and through circumstance.[4] Cruft accumulation may result in technical debt (which could make adding new features or modifying existing features — even to improve performance — more difficult and time consuming). This accumulated hardware, however, often has benefit when IT systems administrators, technicians, and the like have need for critical replacement parts. An unused machine or component similar to a production unit could allow near-immediate restoration of the failed unit, as opposed to waiting for a shipped replacement.
| Look up cruft in Wiktionary, the free dictionary. |
This entry is from Wikipedia, the leading user-contributed encyclopedia. It may not have been reviewed by professional editors (see full disclaimer)