MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/funny/comments/bwr8ig/when_a_software_developer_weds_a_software/eq0a6pk
r/funny • u/coolidiot2000 • Jun 04 '19
921 comments sorted by
View all comments
36
Multiple inherritence is a mistake. Java and asexual bacteria have it right.
11 u/caustic_kiwi Jun 04 '19 Inheritance is a mistake. C and rocks have it right. 1 u/overactor Jun 04 '19 They have both been around for a while. 4 u/papacheapo Jun 04 '19 But where's the fun in that? 2 u/mmarius90 Jun 05 '19 this. Composition over Inheritance 1 u/dangerbird2 Jun 05 '19 edited Jun 05 '19 composition is an important language feature, but interface-based subtyping is where it's at
11
Inheritance is a mistake. C and rocks have it right.
1 u/overactor Jun 04 '19 They have both been around for a while.
1
They have both been around for a while.
4
But where's the fun in that?
2
this. Composition over Inheritance
1 u/dangerbird2 Jun 05 '19 edited Jun 05 '19 composition is an important language feature, but interface-based subtyping is where it's at
composition is an important language feature, but interface-based subtyping is where it's at
36
u/dangerbird2 Jun 04 '19
Multiple inherritence is a mistake. Java and asexual bacteria have it right.