Code Smell 97 - Error Messages Without Empathy
We should take special care with error descriptions for the users (and ourselves).
TL;DR: Use meaningful descriptions and suggest corrective actions.
Problems
The Least Surprise Principle
Solutions
Use declarative error messages
Show clear exit...
maximilianocontieri.com1 min read