Thursday, March 19, 2009

Someone else has to have noticed this

But a quick search on google gave no relevant hits.

C has an answer for Hamlet.

((2 * b) || !(2 * b)) == true, for all values of b.

1 comment:

Andrew Smith said...

Don't forget the regular expression version of this: /(bb|[^b]{2})/

It's from ThinkGeek ;)

http://www.thinkgeek.com/tshirts-apparel/unisex/itdepartment/57f0/