in reply to Re^3: Private and Protected class methods
in thread Private and Protected class methods
Sure, if you have to use inheritance throughout your system and absolutely cannot use any other method of code reuse or polymorphic structure, obviously inheritance is the way to go. That's a little bit circular; this coding style makes inheritance necessary by forbidding the other approaches.
My point is that I think that's a silly, harmful assumption, nearly as bad as saying that your identifiers cannot use the letter e. isa and ref are code smells to me.
|
|---|