9.1. Sam's New Requirement

Sam met me for lunch at the local vegetarian bistro.

"You know, I was thinking," Sam began.

"Thinking up more things to do, I presume?" I replied.

"Well, yeah. I'd like to keep a report of what each customer is currently renting. Sometimes we get calls from customers who can't remember if they have any CDDiscs currently rented. They are a little absent minded," he stated.

"OK, it should just be an MM change," I said.

"An MM change?" he queried.

"Yes; a Major Minor change. It's a major change, since it involves keeping more information than we currently do. However, it's minor since we only need to rethink how our classes are arranged," I answered.

"That's good. So the other thing I was thinking about is probably an MM too," he said.

"What's that?" I asked.

"I'd like to keep track of all the CDDiscs that a customer has rented. I will be offering discounts to frequent renters in the future," he replied.

"Well, that's not quite as MMish," I said. "Tim and I will discuss it and get back to you."

Get Prefactoring now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.