The Mathematica Journal


About the Journal
Current Issue
Editorial Policy
Back Issues
Contact Information


The Mathematica Programmer

Object-Oriented Programming

Volume 3, Issue 1
Winter 1993
Roman E. Maeder

The object-oriented programming style is becoming increasingly popular. It promises code reuse and easier maintenance of larger projects than is possible with traditional procedural languages. Its use of methods and message passing instead of procedure calls encourages close integration of data and operations. An interactive object-oriented language can easily be implemented in Mathematica. In our last column we discussed two important tools, message passing and objects. We now present the other tools, classes and inheritance. To illustrate the programming style we expand the example developed in our last column and give an implementation of collections.

About Mathematica 
© Wolfram Media, Inc. All rights reserved.