Don't overuse the inheriance:
Because misunderstanding of inheriance to solveing all the problems.
in fact it's naive:
given this new “hammer,” everything seems like a nail.
Considier the Bridge pattern:
1.Would you say things have high cohesion or low cohesion?
2.Are things tightly or loosely coupled?
3.Would you want to have to maintain this code?




























