Skip to content

Commit a10e1a3

Browse files
committed
Fix typo in docs
1 parent fabe3a4 commit a10e1a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/motivation.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Why use ErrorTypes?
22
In short, ErrorTypes improves the _safety_ of your error-handling code by reducing the opportunities for _human error_.
33

4-
Some people think the source of programming bug are programs who misbehave by not computing what they are supposed to. This is false. Bugs arise from _human_ failure. We humans fail to understand the programs we write. We forget the edge cases We create leaky abstractions. We don't document thoroughly.
4+
Some people think the source of programming bug are programs who misbehave by not computing what they are supposed to. This is false. Bugs arise from _human_ failure. We humans fail to understand the programs we write. We forget the edge cases. We create leaky abstractions. We don't document thoroughly.
55

66
If we want better programs, it is pointless to wait around for better humans to arrive. We can't excuse the existence of bugs with the existence human fallibility, because we will never get rid of that. Instead, we must design systems to contain and mitigate human error. Programming languages are such systems.
77

0 commit comments

Comments
 (0)