Diagnosing Java code: Killer combo -- Mixins, Jam, and unit testing (IBM developerWorks)
[Posted December 4, 2002 by cook]
Eric E. Allen
covers a number of Java debugging techniques on IBM's developerWorks.
"
The safety of single-inheritance programming in the Java language comes at a price: sometimes code must be copied along multiple paths in the inheritance hierarchy. To regain much of the lost expressiveness in single-inheritance Java code, we can integrate mixins as one extension. This month, Eric Allen explains the notion of mixins (classes that are parameterized by their parent class) and how they can aid in unit testing."
(
Log in to post comments)