Title: "Chain of Command Example" Date: 2017-04-01 16:44:45 Categories: [programming] tags: [se, chain pattern]
One objective of the chain of command design pattern is to be able to write a bunch of functions that link together and form a chain of alternative implementations. The idea is to have alternatives that vary in their ability to compute a correct answer.