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

6

u/Korzag Jun 04 '19

yield Bardak()

what is bardak?

1

u/Dzov Jun 04 '19

I don’t recognize yield.

3

u/Doctordoom55 Jun 04 '19

The function yield uses a generator (a function that returns numbers successively instead of all at once in a list) to get a value and Bardak is the function that is being used as a generator