Mathematica 9 is now available

Wolfram Library Archive


Courseware Demos MathSource Technical Notes
All Collections Articles Books Conference Proceedings
Title Downloads

The Mathematica Programmer: Object-Oriented Programming
Author

Roman Maeder
Organization: Wolfram Research, Inc.
Department: Kernel Technology
Journal / Anthology

The Mathematica Journal
Year: 1993
Volume: 3
Issue: 1
Page range: 23-31
Description

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.
Subjects

*Applied Mathematics > Computer Science
*Mathematica Technology > Programming
URL

http://www.mathematica-journal.com/issue/v3i1/
Downloads Download Wolfram CDF Player

Download
Accounts.nb (10.3 KB) - Mathematica Notebook
Download
Classes.m (5.9 KB) - Mathematica Package