Garnered a Chuckle

I love it when I come across evidence of a sense of humor when reading technical documentation. I bet someone at Apple had a good time crafting this:

Listing 1  An hour and a half from now
NSDate *today = [NSDate date];
NSDateComponents *offsetComponents = [[NSDateComponents alloc] init];
[offsetComponents setHour:1];
[offsetComponents setMinutes:30];
// Calculate when, according to Tom Lehrer, World War III will end
NSDate *endOfWorldWar3 = [gregorian dateByAddingComponents:comps toDate:today options:0];

For those that don't get the reference, watch this video of him performing it. (My familiarity with the song was from countless Sunday nights listening to Doctor Demento on the radio.)

About this Entry

This page contains a single entry by bbrown published on July 15, 2008 5:38 PM.

Review of Wall-E was the previous entry in this blog.

Guess I'll Google is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Feedback to