Cotyping

The new wave composition for switching from the subtyping in OOP.

The problem: Subtyping is unsuitable for building complex class trees demanded in today's OOP world.

Cotyping is the new, path-preserving mechanics for OOP borrowing from the Homotopy Type Theory.

Through trait labeling, cotyping unlocks compositional capabilities of languages with class semantics.

Cotyping Logo

Test