next up previous
Next: Bibliography Up: Python's object model, with Previous: Factoring generic code

Concluding comments

Pedagogically, the HTMLgen problem is not only intellectually exciting, it is very motivating, because it is perceived by students as practical. The HTMLgen.py class library is well written and easy to read. It is a significant piece of open source software that students can benefit not only from using, but also from studying critically.

This paper shows that Java's and Python's underlying object models are very different; it is useful for students to compare these differences and see how they impact their solutions to problems such as HTMLgen.

There are other differences between Java's and Python's object orientation styles. Some examples include:

It is beyond this paper's scope to make an exhaustive comparison.


next up previous
Next: Bibliography Up: Python's object model, with Previous: Factoring generic code
Luby Liao
Sep 10, 2004