micahburnett


Comments:

No, inheritance is not the way to achieve code reuse!

posted by micahburnettmicahburnett(0) 3 years, 5 months ago 0

http://www.berniecode.com/writing/inheritance/

After reading this article, I think I understand where Daniel was going. Reuse *can* be achieved through inheritance, but it is not the desirable way to do it, given better methods or patterns of doing so — because it limits/traps the developer in cases like the ones mentioned, and actually causes/forces code redundancy.

I agree with @powerrush that the article/title wasn't effective to get the point across, and it seemed to be a flame for the purpose of getting noticed.

Reply