The Buddha Function
Tuesday, August 17th, 2010function contemplate(karma) {
if (karma<uint.MAX_VALUE) {
contemplate(karma+1);
trace("Hello Buddha");
}
}
contemplate(1);
Incidentally, as a matter of scientific rigor, I ran this function in Flash and unsurprisingly, I got an stack overflow error pretty quickly. After a little testing, it seems Flash loses its state of Karma after precisely 2729 iterations.
And even more curious, 27-29 was also the score in the 2009 Rugby Union match between Stade Francais and Bath that effectively ended their Heineken Cup hopes. Spooky.
