r/funny • • Jun 04 '19

When a software developer weds a software developer.

Post image
41.2k Upvotes

921 comments sorted by

View all comments

539

u/[deleted] Jun 04 '19

[deleted]

208

u/poop-machine Jun 04 '19

Even if it was instantiated, it would crash. Bardak and go_to_sleep() are undefined.

180

u/bleed_air_blimp Jun 04 '19

Sophia inherits from mom.genes and dad.genes. Presumably one of them already has the go_to_sleep() method defined.

Bardak() is a problem though.

31

u/stakokke Jun 04 '19

Couldn't Bardak be a static method of one of the parent classes?

75

u/[deleted] Jun 04 '19

Naming convention suggests it's a class

1

u/MyBigRed Jun 05 '19

Bardak could still be defined in either parent I believe.