Click here to Skip to main content
15,914,160 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
GeneralRe: Overriding Virtual Members Pin
PaulPrice6-Jun-07 7:59
PaulPrice6-Jun-07 7:59 
GeneralRe: Overriding Virtual Members Pin
PaulPrice6-Jun-07 22:03
PaulPrice6-Jun-07 22:03 
GeneralRe: Overriding Virtual Members Pin
Leslie Sanford6-Jun-07 8:35
Leslie Sanford6-Jun-07 8:35 
GeneralRe: Overriding Virtual Members Pin
PaulPrice6-Jun-07 22:04
PaulPrice6-Jun-07 22:04 
GeneralRe: Overriding Virtual Members Pin
Chris-Kaiser6-Jun-07 12:14
Chris-Kaiser6-Jun-07 12:14 
GeneralRe: Overriding Virtual Members Pin
Chris-Kaiser6-Jun-07 13:07
Chris-Kaiser6-Jun-07 13:07 
AnswerRe: Overriding Virtual Members Pin
Chris-Kaiser6-Jun-07 12:18
Chris-Kaiser6-Jun-07 12:18 
AnswerRe: Overriding Virtual Members [modified] Pin
Urs Enzler24-Jun-07 23:33
Urs Enzler24-Jun-07 23:33 
oops - did not see all messages before writing my comment (page break)
but anyway:

It's perfectly reasonably to do it or not to do it. Depends on what you want to do: replace or add functionality.

And that's the problem with deriving classes: the "internal interface" is very weak. This could leaad to wrong use of your base class, i.e. your base class requires the base.DoSomething but the programmer of the derived class forgets it Frown | :-(

Therefore some people do advise to use aggregation in difficult situations.

Happy programming
Urs


-- modified at 5:39 Monday 25th June, 2007

-^-^-^-^-^-
no risk no funk

QuestionField Mappings (Not Database fields) Pin
PaulPrice4-Jun-07 12:24
PaulPrice4-Jun-07 12:24 
AnswerRe: Field Mappings (Not Database fields) Pin
Pete O'Hanlon5-Jun-07 9:45
mvePete O'Hanlon5-Jun-07 9:45 
QuestionReverse Engineering Pin
alex_jithesh4-Jun-07 5:21
alex_jithesh4-Jun-07 5:21 
AnswerRe: Reverse Engineering Pin
Vikrant for VC++4-Jun-07 7:24
Vikrant for VC++4-Jun-07 7:24 
QuestionSync files with remote instances of an application Pin
sinosoidal3-Jun-07 21:55
sinosoidal3-Jun-07 21:55 
AnswerRe: Sync files with remote instances of an application Pin
Moak28-Jun-07 10:46
Moak28-Jun-07 10:46 
Questioncharecter input system function Pin
sonavi3-Jun-07 14:44
sonavi3-Jun-07 14:44 
AnswerRe: charecter input system function Pin
Dave Kreskowiak3-Jun-07 17:07
mveDave Kreskowiak3-Jun-07 17:07 
Questioncharecter in putting method Pin
sonavi29-May-07 17:12
sonavi29-May-07 17:12 
QuestionVery intresting architecture Pin
vtuchin27-May-07 9:44
vtuchin27-May-07 9:44 
AnswerRe: Very intresting architecture Pin
Paul Conrad4-Nov-07 7:11
professionalPaul Conrad4-Nov-07 7:11 
QuestionLooking for graphical ideas that convey meaning... Pin
charlieg26-May-07 10:30
charlieg26-May-07 10:30 
AnswerRe: Looking for graphical ideas that convey meaning... Pin
Ray Cassick27-May-07 12:28
Ray Cassick27-May-07 12:28 
QuestionAny Ideas? Pin
Willliam Doman24-May-07 6:00
Willliam Doman24-May-07 6:00 
AnswerRe: Any Ideas? Pin
Moak25-May-07 2:13
Moak25-May-07 2:13 
GeneralRe: Any Ideas? Pin
Willliam Doman25-May-07 5:18
Willliam Doman25-May-07 5:18 
GeneralRe: Any Ideas? Pin
Moak25-May-07 5:53
Moak25-May-07 5:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.