Is polymorphism possible without inheritance?
The best explanation on the subject that I’ve ever read is an article by Luca Cardelli, a renown type theorist. The article is named On Understanding Types, Data Abstraction, and Polymorphism. Types of Polymorphism Cardelli defines several types of polymorphism in this article: Universal parametric inclusion Ad-hoc overloading coercion The kind of polymorphism related to … Read more