Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

2. All applicants under 18 receive a 10% discount, no matter the gender.

Extreme focus on results

It is not a best practice that each decision tables must always contain exactly one result attribute for each possible value. It could be a good starting point in design, but it should not be the ultimate goal to establish one result attribute for each possible value.To illustrate this, the example above has been redesigned to match the before named strategy. In the example above, there are in fact only four discounts: 10%, 20%, 25% and 30%. It is a common mistake that this means that the decision table should have exactly four result alternatives. See the decision table below, which is absolutely not advisedThe decision table holding a result attribute for each value will look like the one below, which in this particular case is not as legible as the two (green) decision tables above:

Decision table or data rule?

...