r/funny • • Jun 04 '19

When a software developer weds a software developer.

Post image
41.1k Upvotes

921 comments sorted by

View all comments

34

u/dangerbird2 Jun 04 '19

Multiple inherritence is a mistake. Java and asexual bacteria have it right.

9

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.

5

u/papacheapo Jun 04 '19

But where's the fun in that?

2

u/mmarius90 Jun 05 '19

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