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.

Loading more stuff…

Hmm…it looks like things are taking a while to load. Try again?

Loading videos…