One that caught my eye was Ruby.
One commenter wrote:
This may not be the shortest and most efficient version, but it's definitely the version that was the most fun to read.
Especially the parts "wall.call" if you need the next bottle, "step = method :buy" if you have no beer left and "beer.drink" as what to do in each stanza.
I would actually call it a geek poem.
For those of you who don't code Ruby: Learn Ruby, so you can enjoy reading this poem and writing your next scripts/applications/whatever.
There are "poems" written in Actionscript, Pascal, Turing, APL and lots more.
Poetry is a bit of an unintentional recurring theme in this blog. There certainly are times when programming feels elegant and creative and expressive. It certainly has plenty of rules that constrain - syntax, keywords, etc. Maybe it is like Haiku on a grand scale!