Skip to content

Comment on What is your best programmer joke?

Comments

This one I sing to my kids:

"Old MacDonald had a farm,

E-I-E-I-O

And on that farm he had an infinite recursion

E-I-E-I-O

With an

Old MacDonald had a farm,

E-I-E-I-O

And on that farm he had an infinite recursion ..."

an infinite loop

I think he went with recursion so that it would eventually terminate, when he runs out of memory.

it loops when you get to "With An", not that you get through the whole verse.

That is, the cow says "Moo", the sheep says "baa", and the infinite recursion says "That is, the cow says "Moo", the sheep says "baa", and the infinite recursion says "That is, the cow says "Moo", the sheep says "baa", and the infinite recursion says "That is, the cow says "Moo", the sheep says "baa", and the infinite recursion says "That is, the cow says "Moo", the sheep says "baa", and the infinite recursion says StackOverflowException was unhandled

An unhandled exception of type

'System.StackOverflowException' occurred in Pxtl.dll

Make sure you do not have an infinite loop or infinite recursion.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.