[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Devel] C++ API for FreeType
From: |
Graham Asher |
Subject: |
RE: [Devel] C++ API for FreeType |
Date: |
Fri, 11 Jan 2002 16:03:29 -0000 |
David,
there is a further point relating to your question
<<<<<<
I'm actually extremely interested in knowing precisely which C++ facilities
you believe are important here.
>>>>>>
Much as it may seem attractive, it is rarely a good idea to use inheritance,
*except* inheritance of, and hence implementation of, an interface class
consisting only of virtual functions. This has been my increasing experience
over all the years I have been designing C++ software. Most relationships
are better implemented as 'has-a', not 'is-a', with a few exceptions in the
area of relatively low-level structure-like classes.
I must stress that I am not saying this purely theoretically. It is the
result of practical experience from projects including, most prominently,
the new TAGMA text layout system for the Symbian platform.
Best regards,
Graham
- [Devel] 2.1.0 branch created, David Turner, 2002/01/08
- Re: [Devel] 2.1.0 branch created, Werner LEMBERG, 2002/01/10
- Re: [Devel] 2.1.0 branch created, David Turner, 2002/01/11
- Re: [Devel] 2.1.0 branch created, Artur Zaprzala, 2002/01/11
- Re: [Devel] 2.1.0 branch created, David Turner, 2002/01/11
- [Devel] C++ API for FreeType, Graham Asher, 2002/01/11
- Re: [Devel] C++ API for FreeType, David Turner, 2002/01/11
- RE: [Devel] C++ API for FreeType, Graham Asher, 2002/01/11
- RE: [Devel] C++ API for FreeType, Pavel Kankovsky, 2002/01/13
- RE: [Devel] C++ API for FreeType - erratum, Graham Asher, 2002/01/11
- RE: [Devel] C++ API for FreeType,
Graham Asher <=
- Re: [Devel] C++ API for FreeType - Portability, Ed Keith, 2002/01/11
- RE: [Devel] C++ API for FreeType - Portability, Graham Asher, 2002/01/11
- RE: [Devel] C++ API for FreeType - Portability, Graham Asher, 2002/01/11
- RE: [Devel] C++ API for FreeType - Portability, Ed Keith, 2002/01/11
- RE: [Devel] C++ API for FreeType - Portability, Graham Asher, 2002/01/11
- Re: [Devel] C++ API for FreeType - Portability, Vadim Plessky, 2002/01/12
- RE: [Devel] C++ API for FreeType - Portability, Manuel Bleichenbacher, 2002/01/11
- Re: [Devel] C++ API for FreeType - Portability, Vadim Plessky, 2002/01/12
- Re: [Devel] 2.1.0 branch created, Werner LEMBERG, 2002/01/11
- Re: [Devel] 2.1.0 branch created, Henrik Grubbström, 2002/01/11