2 ms·
When going to sleep, programmer puts to the table next to his bed a glass with water and an empty glass. The glass with water is in case he'll want to drink at
by avmich 6y ago
When going to sleep, programmer puts to the table next to his bed a glass with water and an empty glass. The glass with water is in case he'll want to drink at night and the empty glass is in case he won't.
- KMag 6y agoFunny, but I think even a lot of programmers won't realize it's a joke about how eliminating special cases / branches from code often makes the code look a little crazy at first glance.
- rkagerer 6y agoThe next morning he wakes up to find the first glass empty, the other full of an amber tinted liquid, and a stranger in bed with him. "You must be the new consultant." "How can you tell?" "All we needed was a nappy, but instead you've bastardized the system in ways it was never meant to be used, left a leaky abstraction that doesn't flush the output, and now I've got to clean up the mess ur in."