TY - JOUR AU - Ernst, Erik PY - 2006/01/01 Y2 - 2024/03/28 TI - Family Genericity JF - DAIMI Report Series JA - DPB VL - 35 IS - 578 SE - Articles DO - 10.7146/dpb.v35i578.7226 UR - https://tidsskrift.dk/daimipb/article/view/7226 SP - AB - Type abstraction in object-oriented languages embody two techniques, each with its own strenghts and weaknesses. The first technique is extension, yielding abstraction mechanisms with good support for gradual specification.<br />The prime example is inheritance. The second technique is functional abstraction, yielding more precise knowledge about the outcome. The prime example is type parameterized classes. This paper argues that these techniques should be<br />clearly separated to work optimally, and also that current languages fail to do this.We have applied this design philosophy to a language based on an extension mechanism, namely virtual classes. As a result, some elements based on functional abstraction have been introduced, but they are simple and only used for things where they excel; conversely, the virtual classes have become more flexible, because their role is now more well-defined.We designate the result as family genericity. The presented language design has been implemented. ER -