Write Errors That Don't Make Me Think
swyx.io · 871 words · saved by 1 readers
How we plan to fail with Thoughtful Error Message Design at Temporal.
Write Errors That Don't Make Me Think swyx · 2020-11-19 There is nothing more frustrating than a cryptic error message. When something goes wrong, chances are you already knew it - all a cryptic error message does is confirm your suspicion and tell you that you're gonna need to read through a bunch of code to figure out your error. As framework and library designers, we can and should do better for our users by carefully following a few design principles. Why We Should Care Who among us hasn't thrown up their hands at an unhelpful Error: NullPointerException or undefined is not a function ? Of
related reading
- Cognitive load is what mattersminds.md
- Computers can be understood - Made of Bugsblog.nelhage.com
- Essays on programming I think about a lot | benkuhn.netbenkuhn.net
- Write code that is easy to delete, not easy to... — programming is terribleprogrammingisterrible.com
- Isys Information Architects - Error Messagesjohnforde.com
- Modular Errors in Rust - Sabrina Jewsonsabrinajewson.org
- The Curse of Knowing How, or; Fixing Everything | Blognotashelf.dev
- It's hard to write code for computers, but it's even harder to write code for humans · Erik Bernhardssonerikbern.com
- The Elements of UI Engineering — overreactedoverreacted.io
- The unwritten laws of software engineeringnewsletter.manager.dev
- Bad Problems Don't Stop Being Bad Because Somebody's Wrong About Fault Analysis — LessWronglesswrong.com
- Before you try to do something, make sure you can do nothingdevblogs.microsoft.com