Quidest?

Simple subtyping

ยท Lorenzo Drumond

A type T is a subtype of type U if:

These two conditions guarantee that even if type T is different from U, variables of type T can always pretend to be U

#programming #computer_science #typing