songs in code
geek, humour, social August 24th, 2009A bit of geeky fun cropped up on Twitter a few days ago in the form of the #songsincode hashtag game, the purpose of which was to rewrite popular songs in the form of programming code and still have the song be recognisable (I said it was geeky). I’ve listed all my entries below, written in a Java-like code. Can you name the songs?
if (guitar.played()
|| (microwave.isInstalled() && kitchen.isDelivered()
&& fridge.isMoved() && tv.isMoved())) {
getMoney();
}
if (touchers.contains(you)) {
throw new InvalidOperationException(CANT);
}
hammerTime.stop();
try { ...
} catch (FallingStar fs) {
fs.setFadeRate(0.0f);
pocket.add(fs);
}
if (weather.isRainy()) {
fs = pocket.get();
}
for (SlimShady ss : slimShadys) {
if (ss.isReal()) {
ss.requestPoseChange(STANDING);
}
}
blueJeans.add(this); blueJeans.setMutable(false);
blame.remove(SUNSHINE); blame.remove(MOONLIGHT); blame.remove(GOOD_TIMES); blame.add(BOOGIE); feet.setControl(null);
while (kids.hasNext()) {
k = kids.next();
k.setFighting(KUNG_FU);
k.setSpeed(LIGHTNING);
}
setFrightLevel(LITTLE_BIT);
for (i = countdowns.getFinal(); i >= 0; i--); setDestination(VENUS); setPose(Standing.TALL); addObserver(VENUS.inhabitants());
How many did you get?
If you liked those, you can see all the entries by searching for the #songsincode hashtag game on Twitter. Why not make up some #songsincode of your own and join in?


August 24th, 2009 at 9:44 am
Hehehe, brilliant. I’d contribute a few of my own except that my coding would be so implausible that it would take the point away from the joke…
August 24th, 2009 at 11:38 am
Not sure if I should be proud or embarrassed that I got them all!
September 10th, 2009 at 1:59 pm
Fantastic, I’m still stuck on one of them though! Going back for another look.
October 18th, 2009 at 10:50 pm
Would you please help me to #songsincode http://1u.ro/fF8
{ Serge Gainsbourg | ” Je t’aime moi non plus ” } in AS1, maybe ?
♫
October 18th, 2009 at 11:32 pm
Sorry Lambday, but I don’t speak enough of either French or AS1 to help you!
November 7th, 2009 at 10:24 pm
Twitter Comment
rt @hashsongsincode Four amazing collections of #songsincode http://bit.ly/GWhCF http://bit.ly/6Zzxi http://bit.ly/JRi1S [link to post]
November 17th, 2009 at 5:00 pm
We’re planning to get #songsincode trending again on Friday 20 November, three months after @proxymoron created the meme. Want to join us?
September 9th, 2011 at 2:19 pm
Oh dear, I fear there is
setLimit(NO);
to your geekness
September 9th, 2011 at 2:34 pm
Oh dear, this is addictive
if (BusState.COMING == busService.findByProvider(“venga”).getState()
&& PersonAction.JUMPING == everybody.getCurrentAction()) {
everyBody.addLike(PersonAction.PARTY);
}