Practical examples of object-oriented programming in C#.
submitted 16 days ago by gorpo85 from (chat-to.dev)
view the rest of the comments →
[–]BobQuixote 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 0 fun2 insightful - 1 fun - 15 days ago (1 child)
Relevant: https://en.m.wikipedia.org/wiki/Composition_over_inheritance
Inheriting rarely adds value, especially in comparison to just holding a reference to the class you would have extended.
[–]gorpo85[S] 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 0 fun2 insightful - 1 fun - 15 days ago (0 children)
good point. thanks
use the following search parameters to narrow your results:
e.g. sub:pics site:imgur.com dog
sub:pics site:imgur.com dog
advanced search: by author, sub...
~0 users here now
Links:
view the rest of the comments →
[–]BobQuixote 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 0 fun2 insightful - 1 fun - (1 child)
[–]gorpo85[S] 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 0 fun2 insightful - 1 fun - (0 children)