Songs in code, the latest meme on Twitter

Remember the internet meme where the users where turning a song into a chart? Well, Twitter just got a new meme where tweeples express a song using code. The hashtag used to follow this meme is #songsincode, so go take a look and you should understand how fun it is if you are just geeky enough.
My favorites so far
These are some songs in code that I found really good…
@3rdEden: if(rickAstly) { rick.rolled = true; }
@glenndavid if (Mc.hammer) { this.touch = false; }
@keithnorm Wall.addBrick();
@madeirac2 while(world.isFree()) { keepOnRocking(); }
@mikemangi if(fire($roof)) { need($water)=NULL; burn($roof);
@gvisor RT e self.target = sheriff; // self.target = deputy; self.selfDefense = YES;
@_saint if (kids != alright) print(“ooOh!”);
@mattmetzger: for each (var person in sky) { if (person == lucy) { add(diamonds) } }
My own attempts
Yeah I did try a few times although my programming skills are terrible…
@mirkohumbert if ( $hotel_name == “california” ) { echo “Welcome”; }
@mirkohumbert $(“people”).event(function (‘HoldingHands’) { $(this).people({‘happy’ : ‘shiny’}); }
@mirkohumbert $(clothes).unload( function () { alert(“Leave your hat on!”); } );
@mirkohumbert if ($Love == 1 || $Heart == 1) echo “Let’s get together and feel alright”;
What about you? Did you see any awesome songs in code or get great ideas?




while(!(succeed = try()));
I was rather proud of:
function chorus() { lights = 0; guerillaRadioVolume++ }
I enjoyed:
switch(day) { case ‘rainy’: case ‘monday’: getMeDown = true; break; default: getMeDown = false; break;}
by @NoteThis
shoot(sheriff); /* shoot(deputy); */
by @petdance
if(woman) { cry(); } else { return; }
by @vrutberg
#songsincode are fun!
My own attempts in ruby and php so far:
if me.find(trouble.times) m = mother.Mary m.goTo(me) m.speak(wisdom.words) m.speak(‘Let it Be!’) end
me = new Cowboy()
me.riding(”steel_horse”)
if me.isDead()? || !me.isDead()?
me.setWanted(true);
end
water->attach(smoke) && sky->attach(fire)
while ($you->take_breath()) $me->watching($you)
This should take you back to your childhood, annoying teachers and siblings alike.
var song=function(){
song();
}
There was a really good one for “Love Shack” too but I can’t find it.
Hey mirko, check mine:
$today=date(“Md”);
if ($today==”Oct01″){
echo”wakeMeUp();”
};
a bit different, more PHP than javascript
for (i = 99; i >= 0; i–) { bottlesOfBeerOnTheWall = i; bottlesOfBeer = i; takeOneDown(); passItAround(); } #songsincode
if (!woman)
{
cry = false;
}
me.wakeUp();
you.goGo();
if (picture == 1000*word)
{
you.canPaint = false;
}
int stash; bool gas; if (money.Have) {gas = true; if (money.BothHands) stash++;} else return 0; #songsincode
My own attempts in ruby and php so far:
if me.find(trouble.times) m = mother.Mary m.goTo(me) m.speak(wisdom.words) m.speak(’Let it Be!’) end
me = new Cowboy()
me.riding(”steel_horse”)
if me.isDead()? || !me.isDead()?
me.setWanted(true);
end
while(i): (wanto==’free’?break;)