Abstract factories and the shape calculator

Eric Cheng, Dung Zung Nguyen, Mathias Ricken, Stephen B. Wong. Abstract factories and the shape calculator. In John M. Vlissides, Douglas C. Schmidt, editors, Companion to the 19th Annual ACM SIGPLAN Conference on Object-Oriented Programming, Systems, Languages, and Applications, OOPSLA 2004, October 24-28, 2004, Vancouver, BC, Canada. pages 101-102, ACM, 2004. [doi]

Abstract

The Shape Calculator is an assignment targeted at CS1 students in an objects-first curriculum. It can serve as a powerful yet entertaining example of the advantages of object-orientation.