3 Methods, Classes, and Objects

In this chapter, we introduce the basic concepts of methods, classes, and objects. We define simple methods, and show that each method is intended for a certain class of argument. We discuss built-in classes in Dylan, and show that they are related by class inheritance. Finally, we discuss what it means to be an object.

Dylan's model of objects and classes differs significantly from the C++ model. If you are familiar with C++, we recommend that you read Appendix B, Dylan Object Model for C and C++ Programmers.