Rules

Secret ingredients to quality software

Edit
Info

Messages - Do you avoid giving an "Error" message for validation purposes?

Created on 27 Nov 2012 | Last updated by Rebecca Liu on 27 Nov 2012 04:27 AM (over 8 years ago)

If you do a search and no matches are found, display a message indicating zero results were returned rather than an error message.

Figure: Bad Example - No matches found on searching is not an "Error"

However, a user thinks that either:

  1. They have done something wrong (i.e. they are incompetent) OR
  2. The software is broken (i.e. your application is incompetent)

Forcing the user into this opinion is a good way to make them avoid using your software in the future.

Instead, use the term "Information" when validation is required.

Figure: Good Example - Only use "Error" when appropriate


We open source. This page is on GitHub