An infinite number of people walk into a bar. The first person goes up to the bartender and orders a full beer. The second person goes up to the bartender and orders half a beer. The third person goes up and orders a quarter of a beer. The bartender looks at them, says, "you're all a bunch of idiots," pours two full beers, and walks away.
I like the first one the most. It's very geeky but who cares. The second one is nice to.
"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
The first is related to array overrun in C, hence not understood by Java devs
In the second, the infinite geometric series 1 + 1/2 + 1/4 + 1/8 ... is equal to 2 (related to Zeno's paradox)