Wednesday, January 11, 2012

I like free beer!

Did you know about http://99-bottles-of-beer.net?
They list programs generating lyrics for a song about beer in 1440 different programming languages (it will be 1441 very soon ;-)). These are the lyrics to generate.

So here is a version written in Xtend:


It uses a couple of interesting features:
Seriously, I think this is one of the most concise and readable versions. Compare yourself.