Murphy’s Law : Java Glossary

Murphy’s Law

Originally the eponymous Edward Murphy made measurement devices that often failed. Programmers have a saying:

If anything can go wrong, it will, and at the worst possible time. Oh yes, and Murphy was an optimist.

The intent is to warn programmers that because computers execute so quickly, even the tiniest flaws will be soon manifested. You need to arm yourself with perfection.

Informally, Murphy’s Law posits a malicious god of computer programmers that ensures no deed good or bad goes unpunished. For example, on 2011-12-30 my room mate asked if it was OK to toss the packing materials for a LG DVD (Digital Video Disk) drive. I said “yes”. On 2012-01-01 the drive made a roaring noise like a vacuum cleaner, opened the drive door with the disc still spinning at high speed and flung it across the room like a Frisbee, then closed the door, roared and eventually went silent. It was as if the drive were possessed and for some reason did not like reading a backup disc from another computer. Such behaviour could be blamed on Murphy, an unusual virus, or the CIA (Central Intelligence Agency) screwing with my mind.

Programmers anecdotally report that a probability of a hard disk crash is directly proportional to the time since the last backup. The probability of accidentally kicking the computer’s power cord, causing a momentary AC (Alternating Current) power outage, is directly proportional to the time since your last save to disk. The probability of running out of printer ink is directly proportional to the time until the store opens that sells it. You are most likely to run out of coffee in the middle of the night. Programs are most likely to crash in the middle of VIP (Very Important Person) demos.

Evidence of Murphy abounds in science, including the third law of thermodynamics, propagation of errors in DNA (Deoxyribonucleic Acid) replication, tempting but finite supplies of fossil fuels, evolutionary specialisation leads to extinction, uncomputable functions…

There is always a temptation, when considering some weird combination of circumstances, to say “That will never happen’ and ignore it. The point of Murphy’s law is that we must either show that it really cannot happen, or plan for it happening.
~ Patricia Shanahan

Books

book cover recommend book⇒A History of Murphy’s Law
by:Nick T. Spark 978-0-9786388-9-4paperback
publisher:Periscope 978-1-935700-79-1ebook
published:2006-05-21
This history of Murphy’s law and the early history of test pilots and their crazy risks.
Australian flag abe books anz abe books.co.uk UK flag
German flag abe books.de amazon.co.uk UK flag
German flag amazon.de abe books.ca Canadian flag
Spanish flag iberlibro.com amazon.ca Canadian flag
Spanish flag amazon.es Chapters Indigo Canadian flag
French flag abe books.fr abe books.com American flag
French flag amazon.fr amazon.com American flag
Italian flag abe books.it Barnes & Noble American flag
Italian flag amazon.it Powells American flag
American flag O’Reilly Safari Sony e-books American flag
Kobo UN flag
Greyed out stores probably do not have the item in stock

CMP homejump to top You can get the freshest copy of this page from: or possibly from your local J: drive (Java virtual drive/mindprod.com website mirror)
http://mindprod.com/jgloss/murphy.html J:\mindprod\jgloss\murphy.html
logo
Please email your , letters to the editor, errors, omissions, typos, formatting errors, ambiguities, unclear wording, broken/redirected link reports, suggestions to improve this page or comments to Roedy Green : feedback email. If you want your message, your name or email kept confidential, not considered for public posting, please explicitly specify that. Unless you state otherwise, I will treat your message as a letter to the editor that I may or may not publish in the feedback section. After that, it will be too late to retract it. If you disagree with something I said, please quote it and cite the web page where you found it, tell me why you think it is wrong, and, if possible, provide some supporting evidence. Threatening to kill me or spouting obscenities has yet to persuade me to change my mind.
mindprod.com IP:[65.110.21.43]
view BlogYour face IP:[38.107.179.212]
You are visitor number 1.