Cruft

From Wikipedia, the free encyclopedia

Cruft is jargon for anything that is left over, redundant and getting in the way. It is used particularly for superseded and unemployed technical and electronic hardware and useless, superfluous or dysfunctional elements in computer software.

History

Harvard Cruft Laboratory

Around 1958, the term was used in the sense of "garbage" by students frequenting the MIT Tech Model Railroad Club (TMRC).[4] In the 1959 edition of the club's dictionary, it was defined as "that which magically amounds in the Clubroom just before you walk in to clean up. In other words, rubbage".[5] Its author Peter Samson later explained that this was meant in the sense of "detritus, that which needs to be swept up and thrown out. The dictionary has no definition for 'crufty,' a word I didn't hear until some years later."[5]

The origin of the term is uncertain, but it may be derived from Harvard University's Cruft Laboratory (built in 1915 as a gift from a donor named Harriet Otis Cruft[6]), 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".[7] In the TMRC dictionary, the relation to the term "crud" (dirt, crap) is pointed out by humorously defining the better known word (crud) by the more obscure one (cruft).[5]

Software

The FreeBSD handbook uses the term to refer to leftover or superseded object code that accumulates in a folder or directory when software is recompiled and new executables and data files produced[8] Such cruft, if required for the new executables to work properly, can cause the BSD equivalent of Dependency hell.[9] The word is also used to describe instances of unnecessary, leftover or just poorly written source code in a computer program that is then uselessly, or even harmfully, compiled into object code.[10]

Cruft accumulation may result in technical debt, which can subsequently make adding new features or modifying existing featureseven to improve performancemore difficult and time consuming.

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/.[11]

Computer hardware

Cruft may also refer to unused and out-of-date computer paraphernalia, collected through upgrading, inheritance, or simple acquisition, both deliberate and through circumstance.[7] 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.

See also

References

  1. Lancaster, Brian (March 2012). "Jean-Baptiste Say's 1785 Croydon street plan". Croydon Natural History & Scientific Society Bulletin 144: 2–5. 
  2. New Homes For Sale in Saffron Square, Croydon, London CR9
  3. State of the art refurbishment
  4. Steven Levy: "Hackers: Heroes of the Computer Revolution - 25th Anniversary Edition." O'Reilly Media, 2010, ISBN 9781449393748, p.8
  5. 5.0 5.1 5.2 Peter Samson: AN ABRIDGED DICTIONARYof the TMRC LANGUAGE June 1959 (with 2005 commentary)
  6. http://www.thecrimson.com/article/1916/3/10/bronze-tablet-erected-in-cruft-memorial/
  7. 7.0 7.1 "crufty". The Jargon File, version 4.4.7. 
  8. "20.4.16.6. What do I do if something goes wrong?". FreeBSD Handbook, Third Edition. Retrieved 2007-08-18. 
  9. Developer blog comment: http://disfunksioneel.blogspot.co.uk/2011/04/linux-software-dependencies.html
  10. TechTarget SearchSoftwareQuality definition http://searchsoftwarequality.techtarget.com/definition/cruft
  11. "Hypertext Style: Cool URIs don't change". Retrieved 2007-08-18. "Cool URIs don't change." 

External links

This article is issued from Wikipedia. The text is available under the Creative Commons Attribution/Share Alike; additional terms may apply for the media files.