We are changing some of the text for our old, badly written error messages. What are some resources for best practices on writing good error messages (specifically for Windows XP/Vista).
相关问题
- JFX scale image up and down to parent
- How do I identify what code is generating “ '&
- Advanced error handling: systematically try a rang
- How do I get a better stack trace on Angular error
- Swing Font Rendering
相关文章
- Algorithm for maximizing coverage of rectangular a
- Is there a way to hide the new HTML5 spinbox contr
- <link> onerror do not work in IE
- Can keyboard of type UIKeyboardTypeNamePhonePad be
- PropertyGrid - Possible to have a file/directory s
- Programming a touch screen application with SWING
- Can WM_NEXTDLGCTL be used with non-dialog windows?
- Could not find default endpoint element that refer
Support for multilanguage applies for all kinds of messages, but tends to be forgotten in the case of error messages.
Try to figure out a way to write your software so it corrects the problem for them.
The ultimate best practice is to prevent the user from causing errors in the first place.
Don't tell users anything they don't care about; error code 5064 doesn't mean a thing to anyone. Don't tell them they did something wrong; disallow it in the first place. Don't blame them, especially not for mistakes your software made. Above all, when there is a problem, tell them how to fix it so they can move on and get some work done.
For security reasons, don't provide internal system information that the user does not need.
Trivial example: when failing to login, don't tell the user if the username is wrong or the password is wrong; this will only help the attacker to brute force the system. Instead, just say "Username/Password combination is invalid" or something like that.
I'm sure there will be other good answers here...
In terms of wording your error messages, I recommend referring to the following style guides for Windows applications: