Functional inheritance in Android

Click for: original source

Michael Chavinda post describes his work in dealing with the problem of inheritance in Android.

Post reads about problem of subclassing in Android and it’s scalability, method hiding, about using delegators to mimick objects and more.

Author concludes that having records of functions to represent virtual methods - in the API he calls these records delegators - and he argues that it turned out to be a pretty powerful mechanism.

[Read More]

Tags functional-programming