Overview of Type Constrained Programming in C

孙斌
DOI: https://doi.org/10.3969/j.issn.1671-1815.2005.02.009
2005-01-01
Abstract:A thorough and in-depth analysis of the underlying ideas and methodology of object-orientation and generic programming, elaborating the aims, technological characteristics, advantages and disadvantages of both are presented. 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 type-constrained programming (TCP) languages in the literatures, a TCP extension of C+ + , C , are discussed, illustrating how to efficiently and economically implement the mechanism.
What problem does this paper attempt to address?