Object Orientation,Generic Programming and Type Constraint Checking

Bing Swen
DOI: https://doi.org/10.3321/j.issn:0254-4164.2004.11.008
2004-01-01
Jisuanji Xuebao/Chinese Journal of Computers
Abstract:A thorough and in-depth analysis of the underlying ideas and methodology of object-orientation and generic programming is presented, elaborating the aims, technological characteristics, advantages and disadvantages of both, with the emphasis on the significant innovation introduced by generic programming to compensate object-orientation for its insufficiency. The paper also details the author's work on further enhancing generic programming by providing direct language support and compiler checking for static type requirements, which leads to a new programming mechanism called named type constraint. As the first example of generic programming languages in the literatures, a generic programming extension of C++ is also discussed.
What problem does this paper attempt to address?