|
|
|
|
|
by linguae
424 days ago
|
|
Coincidentally, I just taught composition over inheritance this morning in my class on object-oriented programming in C++ at Ohlone College in Fremont, CA, and gave an example of why it is undesirable for a stack implementation to inherit a linked list as opposed to just having a linked list as a member. We will learn the SOLID principles of object-oriented software design on Thursday. I may end up passing along this article to my students. Thanks for sharing! |
|