summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Kerr <dwmkerr@gmail.com>2022-01-12 22:56:50 -0700
committerGitHub <noreply@github.com>2022-01-12 22:56:50 -0700
commit847757c98d592366d38ba0548c64ba468452058f (patch)
tree05f1e84e9cd057b30c6ce3f5ff214e0de447b333
parent4b6d9b969c981983440230e9ca14599915585efe (diff)
parent619eabc9d24b1d4cbe853693dfd5938cba308185 (diff)
Merge pull request #348 from puremana/law-of-the-instrument
Add The Law of the Instrument
-rw-r--r--README.md19
1 files changed, 19 insertions, 0 deletions
diff --git a/README.md b/README.md
index d2ca756..7f96f79 100644
--- a/README.md
+++ b/README.md
@@ -589,6 +589,25 @@ Real-world examples:
- [Photoshop Slow Startup](https://forums.adobe.com/thread/376152) - an issue I encountered in the past. Photoshop would be slow to startup, sometimes taking minutes. It seems the issue was that on startup it reads some information about the current default printer. However, if that printer is actually a network printer, this could take an extremely long time. The _abstraction_ of a network printer being presented to the system similar to a local printer caused an issue for users in poor connectivity situations.
+### The Law of the Instrument
+
+[The Law of the Instrument](https://en.wikipedia.org/wiki/Law_of_the_instrument)
+
+> I call it the law of the instrument, and it may be formulated as follows: Give a small boy a hammer, and he will find that everything he encounters needs pounding.
+>
+> _Abraham Kaplan_
+
+> If all you have is a hammer, everything looks like a nail.
+>
+> _Abraham Maslow_
+
+In the context of computer programming, this law suggests that people tend to use tools that are familiar with, rather than the best possible tool. This over-reliance on a familiar tool is an anti-pattern referred to as the golden hammer.
+
+See also:
+
+- [Avoiding the law of the instrument](https://josemdev.com/avoiding-the-law-of-the-instrument/)
+- [AntiPattern Golden Hammer](https://archive.org/details/antipatternsrefa0000unse/page/111/mode/2up)
+
### The Law of Triviality
[The Law of Triviality on Wikipedia](https://en.wikipedia.org/wiki/Law_of_triviality)