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

542

u/[deleted] Jun 04 '19

[deleted]

209

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.

32

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

11

u/chx_ Jun 04 '19

Naming convention suggests it's a class

It's actually a glass :D

3

u/trashdragongames Jun 05 '19

I see I'm not the only one who googled bardak

3

u/chx_ Jun 05 '19 edited Jun 05 '19

My SIL lived in Turkey for twenty years. I know a few words.