Saturday, November 05, 2005

Physics 20 Reading List #7

First, read Sec. 16.1 of Numerical Recipes, on the Runge-Kutta method.

Second, on object-oriented programming, see this rather complete article in the Wikipedia (follow your whim in following hyperlinks). Read also C++ creator Bjarne Stroustrup's What is "Object-Oriented" Programming: Stroustrup's examples are in C++, but his focus is more general.

For learning OOP techniques in specific languages:

1. Learn about OOP in Python:
- in your favorite manual;
- in Guido van Rossum's Python tutorial;
- if you can stand the ads or disable them somehow, in the Developer Shed's tutorials (part 1, part 2);
- more advanced material is discussed in Thinking in Python (still incomplete) by Bruce Eckel.
Last, you should also check out the special methods of Python, and in particular those related to numeric types.

2. Learn about OOP in C++:
- in your favorite manual;
- in this C++ tutorial on classes;
- in these tutorials on classes and on operator overloading.

For either language, you should at the very least have an understanding of class definitions, of class objects, of class methods (including constructors),
and of operator overloading. Read the hints at the end of the assignment for more help.

0 Comments:

Post a Comment

<< Home