
En ingeniería, un error (bug) es un defecto de diseño en un sistema diseñado —como software , hardware informático , electrónica , circuitos o maquinaria— que provoca un resultado no deseado. Los defectos que se producen fuera del alcance del diseño, como la caída de un servidor debido a un desastre natural , no son errores, ni tampoco se producen errores en sistemas naturales como el clima .
El término «bug» es un término no técnico; otros términos más formales, además de «defecto», son «error», «falla» y «fallo» . Los bugs pueden ser persistentes, esporádicos, intermitentes o transitorios; en informática, los bloqueos , las congelaciones y los fallos técnicos son tipos de bugs.
Dado que la deseabilidad es subjetiva, lo que es indeseable para uno puede ser deseable para otro; de ahí la respuesta, a menudo cómica, que se ofrece ocasionalmente al informe de un error: "No es un error, es una característica ".
Historia
La palabra del inglés medio bugge es la base de los términos bugbear y bugaboo como términos utilizados para referirse a un monstruo. [ 1 ]
El término «bug» para describir un defecto ha sido jerga de ingeniería desde al menos la década de 1870, mucho antes de las computadoras electrónicas y el software. Por ejemplo, Thomas Edison escribió las siguientes palabras en una carta a un colega en 1878:
Así ha sido en todos mis inventos. El primer paso es una intuición, que surge de repente; luego aparecen las dificultades: el invento falla y es entonces cuando aparecen los "errores" —como se denominan a estos pequeños fallos y dificultades—, y se requieren meses de intensa observación, estudio y trabajo antes de alcanzar el éxito o el fracaso comercial. [ 2 ]
En una tira cómica publicada en una revista de la industria telefónica de 1924 , un personaje ingenuo oye que un hombre trabaja como "cazador de micrófonos espía" y le regala un rascador de espalda . El hombre responde: "¿No sabes que 'cazador de micrófonos espía' es solo un apodo para un técnico de reparaciones ?" [ 3 ]
Baffle Ball , el primer juego de pinball mecánico , se anunció en 1931 con el eslogan "¡No hay bichos en este juego!" [ 4 ]
Problems with military gear during World War II were referred to as bugs or glitches.[5]
In the 1940 film Flight Command, a defect in a piece of direction-finding gear is called a bug.
In a book published in 1942, Louise Dickinson Rich, speaking of a powered ice-cutting machine, said, "Ice sawing was suspended until the creator could be brought in to take the bugs out of his darling."[6]
Isaac Asimov used the term bug to relate to issues with a robot in his short story "Catch That Rabbit," published in 1944.

U.S. Navy Rear Adm. Grace Hopper, a computer pioneer, popularized a story about a moth that caused a problem in an early electromechanical computer.[7] While Hopper was working on the Mark II and Mark III as Harvard faculty in about 1947, operators traced an error in the Mark II to a moth trapped in a relay. The moth was removed from the mechanism and taped in a log book with the note "First actual case of bug being found." [8] Reportedly, the operators, including William "Bill" Burke, later of the Naval Weapons Laboratory, Dahlgren, Virginia,[9] were familiar with the engineering term and probably making a pun by conflating the two meanings of bug (biological and technical). Even if a joke, the story indicates that the term was commonly used in the computer field at that time.[10][11][12][13] The log book, complete with moth, is part of the collection of the Smithsonian National Museum of American History.[12]
The related term debug also appears to predate its usage in computing: the Oxford English Dictionary's etymology of the word contains an attestation from 1945, in the context of aircraft engines.[14]
"It's not a bug, it's a feature"
Since bug implies undesirable behavior, calling out a bug is subjective. What some find a bug others may find a useful feature, hence the familiar phrase, "It's not a bug, it's a feature" (INABIAF).[15] This quip is recorded in The Jargon File (1975) but dates at least to 1971, when the PDP-8 programmer Sandra Lee Harris of Digital Equipment Corporation (DEC) made the distinction between issues to be fixed in the code for DEC's FOCAL interpreter and those to be documented or clarified in the user manual.[16]
Such behavior may be explicitly communicated to users or remain undocumented.
References
- ^Computerworld staff (September 3, 2011). "Moth in the machine: Debugging the origins of 'bug'". Computerworld. Archived from the original on August 25, 2015.
- ^Edison to Puskas, 13 November 1878, Edison papers, Edison National Laboratory, U.S. National Park Service, West Orange, N.J., cited in Hughes, Thomas Parke (1989). American Genesis: A Century of Invention and Technological Enthusiasm, 1870-1970. Penguin Books. p. 75. ISBN 978-0-14-009741-2.
- ^Cy Meyn, Hattie the Hello Girl, The Mountain States Monitor Vol. XIX, No. 1 (Jan, 1924), Mountain States Telephone and Telegraph Co.; page 34, bottom.
- ^"Baffle Ball". Internet Pinball Database.
- ^"Modern Aircraft Carriers are Result of 20 Years of Smart Experimentation". Life. June 29, 1942. p. 25. Archived from the original on June 4, 2013. Retrieved November 17, 2011.
- ^Dickinson Rich, Louise (1942), We Took to the Woods, JB Lippincott Co, p. 93, LCCN 42024308, OCLC 405243, archived from the original on March 16, 2017.
- ^FCAT NRT Test, Harcourt, March 18, 2008
- ^"Log Book With Computer Bug". americanhistory.si.edu. Retrieved 2024-08-16.
- ^IEEE Annals of the History of Computing, Vol 22 Issue 1, 2000
- ^James S. Huggins. "First Computer Bug". Jamesshuggins.com. Archived from the original on August 16, 2000. Retrieved September 24, 2012.
- ^ " Error archivado el 23 de marzo de 2017 en Wayback Machine ", The Jargon File , ver. 4.4.7. Recuperado el 3 de junio de 2010.
- ^ a b " Libro de registro con error informático archivado el 23 de marzo de 2017 en la Wayback Machine ", Museo Nacional de Historia Americana, Instituto Smithsonian.
- ^ " El primer "error informático ", Centro Histórico Naval. Pero tenga en cuenta que la computadora Harvard Mark II no estuvo terminada hasta el verano de 1947.
- ^ Revista de la Real Sociedad Aeronáutica . 49, 183/2, 1945 "Abarcó... la etapa de prueba de tipo y prueba de vuelo y 'depuración'..."
- ^ Nicholas Carr. "«No es un error, es una característica». ¿Un cliché o simplemente acertado? . Wired .
- ^ Manual de programación FOCAL para PDP-8, PDP-8/S, PDP-8/I, LAB-8, LINC-8 (PDF) . Digital Equipment Corporation. 1968. DEC-08-AJAB-D.
- conceptos de ingeniería
- Ingeniería
- jerga informática