Tuesday, September 09, 2003

Why extends is evil

The extends keyword is evil; maybe not at the Charles Manson level, but bad enough that it should be shunned whenever possible.

That this applies in all OO languages, not just Java. Most languages do not have an explicit "interface" keyword like Java, but the distinction between classes and interfaces is inherent in OO.