My Photo

Links

Blog powered by TypePad

« Comparing Operating Systems | Main | Frank and Ollie »

A group of programmers walk into a bar...

A group of programmers walk into a bar. The bar tender asks, "What'll it be?"

The C programmer says, "You see that bottle?" pointing to a large green bottle marked only with a "*". "Give me whatever's in it."

The Lisp programmer says, "Give me (on the bar in front of me) a glass (a small glass (or plastic cup)) of (imported (German)) beer. (If that's not available, then wine (red (California (Cabernet))).)

The assembly language programmer says, "Take a glass from position two in the glass rack and place it on the bar in position zero (in front of you). Take a bottle from position seven in the bottle rack and pour the contents into position zero on the bar. Stop after three seconds. Put the bottle in position seven of the bottle rack. Take the glass from position zero on the bar and place it in position four on the bar (in front of me)."

The Smalltalk programmer says, "Bartender get vodka bottle. Vodka bottle pour into glass. Hand lift glass. Mouth drink."

The Visual Basic programmer says, "You see those two guys sitting over there?" pointing at a big bald guy and a smaller one wearing glasses. "I'll take whatever they're willing to let me have."

The SQL programmer says, "Take all the bottles containing beer, call them 'beers'. Take all the bottles that come from companies with output of less than one million units per year, call them 'micros'. Take the intersection of 'beers' and 'micros', and pour me the first one."

The Forth programmer says, "White wine, give me."

The Prolog programmer says, "I'll have coke if I want caffeine. I'll have vodka if I want to get drunk. I'll have water if I'm thirsty. I want caffeine if I need to stay awake. I'm thirsty if it's a hot day. I need to stay awake if I still have work to do today. It's a hot day if it's greater than 80 degrees Fahrenheit. I still have work to do today."

The UI designer says, "I'd like a small glass with a thin edge so it's easy to drink from. It should be large enough to grasp easily, but not so large that it's too heavy. It should have a picture on it of a person drinking (thus showing how to use the glass)." "But what do you want in it?" asks the bar tender. "I don't care," says the UI designer.

The manager says, "Oh, just give me a drink!"

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/t/trackback/257666/2809026

Listed below are links to weblogs that reference A group of programmers walk into a bar...:

» programmers walk into a bar... from Sarah Allen's Weblog
"If programming languages could speak, really speak, not just crunch bytes and stream bits, they would have much to say that is both wise and profound." Burningbird told that story in a parable of languages. Harry Chesley adds, on a... [Read More]

Comments

Post a comment

If you have a TypeKey or TypePad account, please Sign In

Ads



Books