Search:

Type: Posts; User: copeg

Search: Search took 0.08 seconds.

  1. Re: How would you design the relationship between these two classes?

    I didn't say best solution, I suggested you look at the idea of composition. In my experience, many situations make much more sense to design away from inheritance for the benefit of re-usability,...
  2. Re: How would you design the relationship between these two classes?

    Google the phrases "composition versus inheritance" and "composition over inheritance". Each technique has its use in different situations. In your case you should evaluate whether composition may be...
Results 1 to 2 of 2