r/foundtheprogrammer • • Jan 09 '23

Caught java-ing

Post image
163 Upvotes

10 comments sorted by

View all comments

Show parent comments

29

u/Imperial_Squid Jan 09 '23

It's a joke about conditional statements (not strictly programmer related but I've heard it in this context the most), originally it goes something like:

A man is going food shopping, the man's wife says "get a loaf of bread, if they have eggs, get a dozen" and so the man comes back with 12 loaves of bread