A Domain-Theoretic Model Of Nominally-Typed Object-Oriented Programming

Moez A. AbdelGawad
2014 Electronical Notes in Theoretical Computer Science  
The majority of contemporary mainstream object-oriented (OO) software is written using nominally-typed OO programming languages. Extant domain-theoretic models of OOP developed to analyze OO type systems miss crucial features of these mainstream OO languages, such as nominality. This paper summarizes the construction of NOOP as a domain-theoretic model of OOP that includes nominal information found in nominally-typed mainstream OO software. Inclusion of nominal type information and asserting
more » ... t type inheritance in statically-typed OO programming languages is an inherently nominal notion allow readily proving that inheritance and subtyping are completely identified in these languages. This conclusion is in full agreement with intuitions of OO developers using these languages, and contrary to the belief that "inheritance is not subtyping", which came from assuming non-nominal structural models of OO type systems. NOOP, thus, provides a firmer semantic foundation for analyzing and progressing nominallytyped mainstream OO programming languages.
doi:10.1016/j.entcs.2014.01.002 fatcat:lcbo73cz2rdyhke7ns3j7rs2cu