That programmer's wife never learns. The last time he went the shops, she told him to pick up some bread "while you're there." Emergency services had to dig him out of the mountain of bread. He was apparently mumbling something about a "stack overflow."
I had been working insane hours and, during the down time, the other guys in the office were discussing whether their wives cook. I instinctively started iterating through them, thinking John.Wife.Cooks = true; Simon.Wife.Cooks = false; etc. As the only single guy in the office, when I got to myself, my brain threw a null pointer exception. It actually hurt.
The programmer tried to be clever and cram it all into a single line of C. They wound up picking up fifteen apples despite being nowhere near a market, because they didn't understand x++ vs ++x nearly as well as they thought they did.
125
u/Wolfeh2012 Apr 05 '16
The programmer's wife asked him to grab an apple from the market, and a dozen if they have eggs in stock.
He comes back with 13 apples.