Dan Byström’s Bwain

Blog without an interesting name


Posted by Dan Byström on October 26, 2005

switch ( Math.Sign(q.answer-42) )
  case  1: q.left(); break;
  case -1: q.right(); break;
  case  0: Foo.Bar(); return;

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: