Songs in Code
Aug21Written by:
2009/08/21 09:37 AM
Twitter just got a new meme where Twitters express a song using code. The hashtag used to follow this meme is #songsincode. Go to Twitter and take a look and you should understand how fun it is, if you are just geeky enough.
See if you can identify the songs.
Some of the Good ones
@johnshoe: if( neighborhood.Contains("something strange")) { CallerDelegate caller=null; caller = ghostbusters; }
@BK4D You.getInstance().moveTo(under.myUmbrella); ella*2; eh*3
@backstrom if ( i = 0; i < (answer == no ? 2 : 3); i++ ) { knock( answer == no ? : pipe : ceiling ); }
@crazeegeekchick: foreach (Step in Steps.YouTake) { foreach(Move in Moves.YouMake) {self.Watching(you); }}
@theletterell: if ( happy == true && knowIt == true ) { you.clapHands(); }
@WikkaWikka HakunaMatata=new WonderfulPhrase("No worries for the rest of your days"); myPhilosophy=new ProblemFreePhilosophy(HakunaMatata);
@powerdXpression var bottles = 99; for(i = bottles; i >=0; i--) {document.writeline(bottles.toString() + ' bottles of beer on the wall');}
musicchallenger for i in ("right foot", "left foot", "right hand", "whole body") puts "You put your " + i + " in, you put your " + i + " out";
Here are some of my own
public class HotelCalifornia { public bool CheckIn = true; public bool Leave = false;}
If (an illusion = true); believe = false;
If (needSomeone = true) Help();
for Lady = 1 to 3 {ILoveYou = true;}
Can you put some of your favourite songs to code and challenge us to identify them. Have a go. Leave you songs in the comments below.
Technorati Tags:
Songs,
Mucis,
CodeNew here, or perhaps you've been here a few times? Like this post? Why not subscribe to this blog and get the most up to date posts as soon as they are published.
blog comments powered by 3 comment(s) so far...
Re: Songs in Code
hehe, nice find :) How about this one: List ladies = GetLadiesInTheClub(); foreach (Lady lady in (ladies.FindAll(delegate(Lady lady1) { return (!lady1.hasBoyfriend && !lady1.hasGirlfriend && !lady1.hasSpouse); }) )) { lady.PutYourHandsUp(); };
By Baldric on
2009/08/21 11:00 AM
|
Re: Songs in Code
I managed to figure out all but a couple of these :-) I've seen quite a few variations on Ghostbusters and Hotel California.
My favourite is this by royvanrijn:
for(Leaf leaf:leafs) { leaf.setColor(new Color(139,69,19)); } sky.setColor(Color.GRAY); By John on
2009/09/12 11:17 AM
|
Re: Songs in Code
@John,
Love it, Mama's and Papa's California Dreaming. All the leaves are brown and the sky is grey By Robert Bravery on
2009/09/12 12:46 PM
|