Higher Order Objects in pure Object-Oriented Languages

Abstract

We present a method of directly translating higher orderfunctions from functional programs into object-oriented programs. We show how to pass methods to generalized algorithms in pure object-oriented languages without extending the language. The translation allows partial parameterization, including currying, and conforms to strong typing. Finally we compare our method with conventional object-oriented approaches in terms of locality and reusability.

6 pages