2015 Source Code Poetry Competition
Written by David Conrad   
Saturday, 28 November 2015

No this is not some vague philosophical point about code being so beautiful it is a logical poem - although it undoubtedly is - this is real poetry. It has to rhyme and it has to compile. 

poembanner

The source code poetry competition has been going for a while, but it doesn't seem to have run out of steam. 

 

This year's main prize for the best compilable poetry was won by *The American C* by *Done Lean*. It is a C program that laments the passing of the old ways and their replacment by this terrible C++ object stuff. 

 

poem1

 

In case you didn't get it:

all that, changed, when; class es{} came;
we got, spoiled, And, thats = a, shame;

all is, broken, nothing;s same
, c_plus_plus, has, killed, the, flame;

No one said poetry couldn't be controversial. Personally I'd have given them the prize for the title and *Done Lean*.

The winner of the "bend the rules" category is very strange poem in the Piet programming language which has a bitmap as its source code. It is called "Bark" as the program looks like the bark of a tree. Apparently if you run it it outputs a haiku about what the source code looks like.

And to be 100% clear this is the source code of the program:

poem2

 

Not knowing very much about Piet I have had to take their word for it. 

You can find out more about the competition, view previous winners and contemplate taking part in next year's at the web site.

One final controversial rule:

"The poetry must properly compile in either Java, C# or C++. The dynamic languages are discouraged (too easy!) but may be accepted if solution is unbelievably cool."


poem2015icon

More Information

Source Code Poetry

Related Articles

Writing Code As Poetry; Poetry As Code       

Write in C - a tribute to Denis Ritchie       

The Earth Has Many Faces

Interactive Pixel Art

 

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on, Twitter, FacebookGoogle+ or Linkedin

 

Banner


IBM Opensources AI Agents For GitHub Issues
14/11/2024

IBM is launching a new set of AI software engineering agents designed to autonomously resolve GitHub issues. The agents are being made available in an open-source licensing model.



Improved Code Completion With JetBrains Mellum
29/10/2024

JetBrains has launched Mellum, a proprietary large language model specifically built for coding. Currently available only with JetBrains AI Assistant, Mellum is claimed to provide faster, sm [ ... ]


More News

 

espbook

 

Comments




or email your comment to: comments@i-programmer.info

 


 

Last Updated ( Saturday, 28 November 2015 )