Nervous System: The Day Grace Hopper Literally Debugged a Program
In this month's look at the history of cybersecurity, David Kalat looks back at the time Navy rear admiral Grace Hopper (say it quickly) helped popularize the term 'debugging.'
January 07, 2019 at 07:00 AM
5 minute read
With the aggressive pace of technological change and the onslaught of news regarding data breaches, cyber-attacks, and technological threats to privacy and security, it is easy to assume these are fundamentally new threats. The pace of technological change is slower than it feels, and many seemingly new categories of threats have actually been with us longer than we remember. Nervous System is a monthly blog that approaches issues of data privacy and cybersecurity from the context of history—to look to the past for clues about how to interpret the present and prepare for the future.
The field of computer science is full of strange and sometimes off-putting jargon. Some words and turns of phrase are the inevitable result of trying to name ethereal concepts using a language that evolved to describe the physical world of everyday experience. Other times, jargon is perfectly sensible terminology if you happen to be trained in an obscure subspecialty, and it only seems weird to outsiders. A few terms are the result of an inside joke. And sometimes, techno-speak seems almost too silly to contemplate.
For example, “debugging” a program is the process of identifying and removing errors and anomalies in a computer program. The story goes that this term comes from an incident in 1947 when a technician discovered that Harvard University's Mark II calculating computer was malfunctioning because there was a dead moth stuck to one of the computer's mechanical relays, and that in order to fix the problem, the actual bug had to be peeled off and removed.
To add to the deliciousness of the literal pun, the technician was named “Grace Hopper” (say it quickly).
Fans of urban legends may at this point be reminded of the story that Thomas Crapper invented the flush toilet—an exaggeration that took root in the popular consciousness thanks to a pun. Looking beneath the pun here, the story of Grace Hopper and the moth turns out to be true, although perhaps not the actual origin of the phrase.
US Navy Rear Admiral Grace Hopper was a real person and a legendary figure in computer history to boot. In 1928, she completed dual degrees in math and physics at Vassar College and joined its faculty. While teaching at Vassar, she pursued graduate studies in math at Yale University and completed her PhD in 1934. This was a time when it was still rare for women to attend college at all, and when the Great Depression encouraged those who did to pursue pragmatic, job-oriented degrees in women-dominated fields like nursing and social work. In 1943, Hopper left Vassar to join the Navy and use her mathematical prowess to help fight the war.
After the war, Hopper became a pioneering computer scientist, and it was in this capacity that she was working on the Mark series of computers at Harvard, where she famously encountered the moth.
The moth too was definitely a once-living thing. After Hopper removed it from the relay, she cheekily taped the insect's corpse to her logbook along with the handwritten legend: “First actual case of bug being found.” The page from her logbook with the moth is at the Smithsonian's Museum of American History, and she reveled in telling the story through the years.
While the event—and Hopper's glee in retelling it—helped popularize the term “debugging,” the origin of the term goes back well before Hopper's time. “Bug” is an ancient word for monster (see also “bugbear,” “bugaboo,” and “boogeyman”). For superstitious types who ascribed unexpected faults and errors on the intervention of goblins, the act of rooting out such mischief-makers fell to those who would de-bug things. The term “debug” appears sporadically throughout engineering documents from the early twentieth century. Thomas Edison wrote a letter in 1878 bemoaning how “'Bugs'—as such little faults and difficulties are called—show themselves and months of intense watching, study and labor are requisite before commercial success or failure is certainly reached.”
Hopper was especially keen on finding ways to make computer science more accessible and to make its terminology more colloquial. One challenge she confronted as a programmer was the fact that software needs to be in the binary language of machines in order to be run, but humans are generally poor at reading and writing in binary. Code is therefore written in a higher-level programming language and then translated into binary by a process called a “compiler.” As it happens, Hopper was the person who coined the term “compiler,” and she wrote one of the first examples of one. She later helped develop COBOL and FORTRAN, more user-friendly programming languages. Her goal was that one day, people would write code in natural language and let sophisticated compilers do the work of translating that into machine-speak.
“Amazing Grace” Hopper retired from the Naval Reserve in 1966 as a commander, but a 1983 60 Minutes profile on her prompted Congress to pass a joint resolution that resulted in a presidential appointment to the rank of commodore. That rank was later renamed “rear admiral,” making Hopper one of the few female admirals in the US Navy.
David Kalat is Director, Global Investigations + Strategic Intelligence at Berkeley Research Group. David is a computer forensic investigator and e-discovery project manager. Disclaimer for commentary: The views and opinions expressed in this article are those of the author and do not necessarily reflect the opinions, position, or policy of Berkeley Research Group, LLC or its other employees and affiliates.
This content has been archived. It is available through our partners, LexisNexis® and Bloomberg Law.
To view this content, please continue to their sites.
Not a Lexis Subscriber?
Subscribe Now
Not a Bloomberg Law Subscriber?
Subscribe Now
NOT FOR REPRINT
© 2025 ALM Global, LLC, All Rights Reserved. Request academic re-use from www.copyright.com. All other uses, submit a request to [email protected]. For more information visit Asset & Logo Licensing.
You Might Like
View AllTrending Stories
- 1Pa. High Court: Concrete Proof Not Needed to Weigh Grounds for Preliminary Injunction Order
- 2'Something Else Is Coming': DOGE Established, but With Limited Scope
- 3Polsinelli Picks Up Corporate Health Care Partner From Greenberg Traurig in LA
- 4Kirkland Lands in Phila., but Rate Pressure May Limit the High-Flying Firm's Growth Prospects
- 5Davis Wright Tremaine Turns to Gen AI To Teach Its Associates Legal Writing
Who Got The Work
J. Brugh Lower of Gibbons has entered an appearance for industrial equipment supplier Devco Corporation in a pending trademark infringement lawsuit. The suit, accusing the defendant of selling knock-off Graco products, was filed Dec. 18 in New Jersey District Court by Rivkin Radler on behalf of Graco Inc. and Graco Minnesota. The case, assigned to U.S. District Judge Zahid N. Quraishi, is 3:24-cv-11294, Graco Inc. et al v. Devco Corporation.
Who Got The Work
Rebecca Maller-Stein and Kent A. Yalowitz of Arnold & Porter Kaye Scholer have entered their appearances for Hanaco Venture Capital and its executives, Lior Prosor and David Frankel, in a pending securities lawsuit. The action, filed on Dec. 24 in New York Southern District Court by Zell, Aron & Co. on behalf of Goldeneye Advisors, accuses the defendants of negligently and fraudulently managing the plaintiff's $1 million investment. The case, assigned to U.S. District Judge Vernon S. Broderick, is 1:24-cv-09918, Goldeneye Advisors, LLC v. Hanaco Venture Capital, Ltd. et al.
Who Got The Work
Attorneys from A&O Shearman has stepped in as defense counsel for Toronto-Dominion Bank and other defendants in a pending securities class action. The suit, filed Dec. 11 in New York Southern District Court by Bleichmar Fonti & Auld, accuses the defendants of concealing the bank's 'pervasive' deficiencies in regards to its compliance with the Bank Secrecy Act and the quality of its anti-money laundering controls. The case, assigned to U.S. District Judge Arun Subramanian, is 1:24-cv-09445, Gonzalez v. The Toronto-Dominion Bank et al.
Who Got The Work
Crown Castle International, a Pennsylvania company providing shared communications infrastructure, has turned to Luke D. Wolf of Gordon Rees Scully Mansukhani to fend off a pending breach-of-contract lawsuit. The court action, filed Nov. 25 in Michigan Eastern District Court by Hooper Hathaway PC on behalf of The Town Residences LLC, accuses Crown Castle of failing to transfer approximately $30,000 in utility payments from T-Mobile in breach of a roof-top lease and assignment agreement. The case, assigned to U.S. District Judge Susan K. Declercq, is 2:24-cv-13131, The Town Residences LLC v. T-Mobile US, Inc. et al.
Who Got The Work
Wilfred P. Coronato and Daniel M. Schwartz of McCarter & English have stepped in as defense counsel to Electrolux Home Products Inc. in a pending product liability lawsuit. The court action, filed Nov. 26 in New York Eastern District Court by Poulos Lopiccolo PC and Nagel Rice LLP on behalf of David Stern, alleges that the defendant's refrigerators’ drawers and shelving repeatedly break and fall apart within months after purchase. The case, assigned to U.S. District Judge Joan M. Azrack, is 2:24-cv-08204, Stern v. Electrolux Home Products, Inc.
Featured Firms
Law Offices of Gary Martin Hays & Associates, P.C.
(470) 294-1674
Law Offices of Mark E. Salomone
(857) 444-6468
Smith & Hassler
(713) 739-1250