Scenario
lGame
–Find the min and max values in a vector of high scores.  If someone beats the min score, they enter the champion’s circle.  If they beat the max score, they become the reigning champion.
lBusiness application
–In order to make a graph, find the min and max values so that all values fit on the graph.
So, here is a chance for us to broaden the perspective of anyone watching, either from outer space or from over your shoulder.  It might even be your perspective.  This is the scenario.

You work for a company that has two products, a game and a business application, written by two different departments.  Both programs need a function to calculate the minimum and maximum values in a vector.  For the game, it is used to keep track of high scores.  If someone beats the lowest score in the top ten list, that person’s can be added to the list.  If the score is above the highest score, the person becomes the new champion.

The business application includes a graphing function.  In order for all points to fit on a graph, you have to know the range of values, which is characterized by min and max.

What does this have to do with the mistakes?  Let’s add a few twists.