flâneur — a map of the web's best reading

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

Explore this link on the map →

related reading