Composing Math Operators and Programming the Calculator

In this video, we create a simple implementation of the composite pattern to create new operators. Next, we update the Math Operator Factory to allow for adding new operators. Finally, we create in the calculator the ability to program new operators.

While there's a lot left to the viewer in terms of error handling, all the moving parts are in place.