One of the least-appreciated skills in programming is writing anti-frustrating error messages. A good error message should make it self-evident (a) what the user did, (b) what acceptable inputs are, and (c) how to fix the problem. Can determine love or hate for your library.

Feb 22, 2022 · 4:24 PM UTC

245
664
50
8,978
Replying to @gdb
I think my wife would be excellent at writing error messages……
1
Replying to @gdb
Who knew problem solving in computer programming and in relationships are identical?
Replying to @gdb
Abort, retry, fail
Replying to @gdb
elm is so nice and friendly with error messaging
Replying to @gdb
FACTS! My coding teacher told me that as well.
Replying to @gdb
Heard of a story many years ago about a compiler that only generated a single error message: "You lied to me when you told me this was a program."
Replying to @gdb
You’re clearly a Unicorn.
1
Replying to @gdb
I was always rather worried by "Fatal exception error" - was I about to die?
Replying to @gdb
How about sadistic error messages the erase all of your last input? That's apparently an art too.
2