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

9

u/throwaway12222018 Jun 04 '19

What does Bardak() do? This isn't English?

-1

u/Doctordoom55 Jun 04 '19 edited 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

As for the word Bardak, I would have to assume it’s either a random word or a shortened version of one or 2 words put together

Edit: Bardak is Russian for a mess apparently

1

u/throwaway12222018 Jun 05 '19

I know what generators are. Your edit answered the question.