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


.NET For Apache Spark Updated
05/11/2020

The .NET bindings for Spark have been updated. The new 1.0 version adds support for .NET apps targeting .NET Standard 2.0 or later, as well as support for Apache Spark DataFrame APIs.



GitHub Supports Literate Programming Environment For Python
03/12/2020

GitHub has announced it is supporting Fast.ai in developing a new, literate, programming environment for Python called nbdev.


More News

 

square

 



 

Comments




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

 


 

Last Updated ( Saturday, 28 November 2015 )