17 lines
2.8 KiB
HTML
17 lines
2.8 KiB
HTML
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
|
||
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>cargo cult programming</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="../C.html" title="C"/><link rel="previous" href="careware.html" title="careware"/><link rel="next" href="cascade.html" title="cascade"/></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">cargo cult programming</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="careware.html">Prev</a> </td><th width="60%" align="center">C</th><td width="20%" align="right"> <a accesskey="n" href="cascade.html">Next</a></td></tr></table><hr/></div><dt><a id="cargo-cult-programming"/><dt xmlns="" id="cargo-cult-programming"><b>cargo cult programming</b>: <span xmlns="http://www.w3.org/1999/xhtml" class="grammar">n.</span></dt></dt><dd><p> A style of (incompetent) programming dominated by ritual inclusion
|
||
of code or program structures that serve no real purpose. A cargo cult
|
||
programmer will usually explain the extra code as a way of working around
|
||
some bug encountered in the past, but usually neither the bug nor the
|
||
reason the code apparently avoided the bug was ever fully understood
|
||
(compare <a href="../S/shotgun-debugging.html"><i class="glossterm">shotgun debugging</i></a>,
|
||
<a href="../V/voodoo-programming.html"><i class="glossterm">voodoo programming</i></a>).</p></dd><dd><p>The term ‘cargo cult’ is a reference to aboriginal
|
||
religions that grew up in the South Pacific after World War II. The
|
||
practices of these cults center on building elaborate mockups of airplanes
|
||
and military style landing strips in the hope of bringing the return of the
|
||
god-like airplanes that brought such marvelous cargo during the war.
|
||
Hackish usage probably derives from Richard Feynman's characterization of
|
||
certain practices as “<span class="quote">cargo cult science</span>” in his book
|
||
<i class="citetitle">Surely You're Joking, Mr. Feynman!</i> (W. W. Norton
|
||
& Co, New York 1985, ISBN 0-393-01921-7).</p></dd><div class="navfooter"><hr/><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="careware.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="../C.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="cascade.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">careware </td><td width="20%" align="center"><a accesskey="h" href="../index.html">Home</a></td><td width="40%" align="right" valign="top"> cascade</td></tr></table></div></body></html>
|