If you have a set of similar classes wouldn't that imply that they share more methods? Or at least have similar methods, seems to me that similar classes = similar methods = derived from a common class, even if that common class is very thin. It really depends though, if you look down the road and don't see them sharing anything else then inheritance might be over kill, but if there is a chance they will overlap more and more you would definitely want to go with inheritance.
In reply to Re: OO design: abstract class or can()?
by eric256
in thread OO design: abstract class or can()?
by perrin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |