Sunday, April 3, 2005

Whiteboard compilation fun

As I sit here waiting for FrontPage to compile, I thought I'd share some of the things on our whiteboards:

QuiznosSoup soup1 = new QuiznosSoup();
Soup soup2 = (Soup) soup1; // throws exception
[This is because, according to a sign there, "It's not soup. It's Quizno's soup."]

There is also an induction proof for (n^x - 1) / (n - 1) = Sum(i = 0 to x - 1; n^i).

...and, some things that I can't tell you about because the bad people will come for me.


Matthew Beermann said...

Isn't it sad that my brain immediately took that for Java code, before realizing it was pretty unlikely?

Derrick Stolee said...

i had that same thought...