Teaching OOP in C++ using an artificial life framework

Richard E. Pattis

1997 · 13 citations · 3 references

DOIFull text

Open access

Concepts

Abstract

This paper explores the framework method for teaching object-oriented programming. Specifically, it describes a hierarchy of CI-+ classes that implement the framework for an Artificial Life simulator. Students learn how to read these classes and extend them via inheritance: they design and implement subclasses that encapsulate the behavior and state of environments and the entities that inhabit them. The simulator constructs an artificial world from objects of these subclasses; then, it animates these objects as they interact during the simulation. This paper includes one sample project and both subclasses that implement its solution.

References

3