Subtyping

Subtyping

Subtyping is a form of type polymorphism in which a subtype is related to a supertype by substitutability, allowing program elements written for the supertype to also operate on the subtype. It is commonly used in object-oriented programming and functional programming languages, and is related to the linguistic notions of hyponymy and holonymy as well as bounded quantification in mathematical logic.

1 courses cover this concept

CSE 130: Programming Languages: Principles and Paradigms

UC San Diego

Winter 2017

UC San Diego's CSE 130 provides an overview of basic concepts and design trade-offs related to programming languages. The course covers a wide range of topics like scope, storage management, exceptions, and concurrency, through practical implementation.

No concepts data

+ 17 more concepts