What the Smurf are #songsincode ?
WordPress coders are often told that, “code is poetry“.
So what happens when coders take a look at songs and codify the logic behind the songs? A geeky in-joke became one of Twitter’s funniest trends two years ago. Type #songsincode into the Twitter search engine and you’ll be bombarded by song titles and lines expressed as php or Apache code. Examples?
var i = {shot:{sheriff:true,deputy:false}}
That reads as “I shot the sheriff, but I didn’t shoot the deputy”. Or how about
load(int tons) { if (tons == 16) { older(days(1)); debt++ } }.
Yep, that’s “16 tons, and what do you get? Another day older and deeper in debt” (courtesy of @efficacy).
What makes this so funny? Is it like synthetic voices trying to express emotions? Or is it how easily complex personal thoughts can be reduced to raw code? Or the obvious comment that engineers are always analysing things?
And my shot at it?
{ if (baby == left me) var i ={find:{place to dwell:target=”new”}}
Don’t tell me the syntax is shot. I know that. Throw me in a fix. As @robertham says, “Geeks just want to have fun”.
With thanks to A-Lyric
So what happens when coders take a look at songs and codify the logic behind the songs? A geeky in-joke became one of Twitter’s funniest trends two years ago. Type #songsincode into the Twitter search engine and you’ll be bombarded by song titles and lines expressed as php or Apache code. Examples?
var i = {shot:{sheriff:true,deputy:false}}
That reads as “I shot the sheriff, but I didn’t shoot the deputy”. Or how about
load(int tons) { if (tons == 16) { older(days(1)); debt++ } }.
Yep, that’s “16 tons, and what do you get? Another day older and deeper in debt” (courtesy of @efficacy).
What makes this so funny? Is it like synthetic voices trying to express emotions? Or is it how easily complex personal thoughts can be reduced to raw code? Or the obvious comment that engineers are always analysing things?
And my shot at it?
{ if (baby == left me) var i ={find:{place to dwell:target=”new”}}
Don’t tell me the syntax is shot. I know that. Throw me in a fix. As @robertham says, “Geeks just want to have fun”.
With thanks to A-Lyric

What Now?
I thought it might be an idea to start gathering the better Songs in Code before they shuffle off the digital coil. So I'm looking for attributed codes. Click on contact if you have a good source.
<< Anyone recognise this one? ;-)
Meanwhile, Nick Haakman contributed:
$('*').children('.insane'); summerRain.when(function() { return 'yeah'; });
(The Doors - The End)
I thought it might be an idea to start gathering the better Songs in Code before they shuffle off the digital coil. So I'm looking for attributed codes. Click on contact if you have a good source.
<< Anyone recognise this one? ;-)
Meanwhile, Nick Haakman contributed:
$('*').children('.insane'); summerRain.when(function() { return 'yeah'; });
(The Doors - The End)