loading...

re: Approaching software design principles VIEW POST

TOP OF THREAD FULL DISCUSSION
re: I can't support composition >> inheritance enough. From my experience it's such a classic error in OO programming, as junior and even interme...
 

Thanks a lot for your input Simon! I think of this principle as the common case where something used to be an acceptable solution, but since then evolved into a bad design practice...

With composition you get rid of the "hidden magic" inheritance provides, and oh, does it make life better!

Perhaps I'll write a post exclusively about this principle sometime soon...

Thanks again for sharing!

code of conduct - report abuse