Instead of risking writing another “flame bait” post though, I’ve decided to take a different tack by trying to understand the opposite view to my own. Continue reading “Interfaces and abstract classes: it’s all about the inheritance”
This article started out as a “Should we scrap interfaces?” follow up to my previous “Did we get OO Interfaces all wrong?” article. I have been struggling with interfaces for some time now as they just don’t seem right to me. They are useful, I’d not dispute that; and they enhance OO languages, especially those that lack multiple inheritance. They just strike me as a case of semantic salt, ie the computer language semantic equivalent of syntactic salt.