Songs in Code

Programming related hashtags don’t make the top trend on Twitter. But last Friday night, when most people are out except geeks, the hashtag #songsincode made it to the top trends on Twitter. As of today, here some of my favorite songs in code.

Songs in Code

  • @juixe: if(self.getLikes().contains(BIG_BUTTS) && !self.canLie()) {other.getBrothers().deny(false); you.getFace().add(ROUND_THING); you.getSprung()} #songsincode
  • @techknow: Rhythm instanceof Dancer == true #songsincode
  • @techknow: 2.times do we_will end; rock_you; face :has => ‘mud’; disgrace you, big #songsincode
  • @anteaya: if “its” === 1999 then party; end #songsincode
  • @cessor: for(int i = 99; i >= 0; i–) { Bottle b = _bottlesOfBeerOnTheWall[i]; b.Pass(); } #songsincode #CSharp
  • @seeflanigan: Love.is_a?(Battlefield) => true #songsincode
  • @stewdio_org: return “that’s” + ( name.indexOf([ “girl”, “stacey”, “her”, “jane” ]) > 0 ? “” : ” not” ) + ” my name” #songsincode #tingtings
  • @malvim: try { me.go(“rehab”); } catch { return “No, no, no!”; } #songsincode
  • @bricriu: if (self.go() { return new Trouble() } else if (self.stay()) { return new Trouble().intValue() * 2} #songsincode
  • @projektdotnet: int main(void){get_your($body_beat); let_your(blood_flow); return 0;} #songsincode
  • @NescioPhone: try { margaritaville.Resolve(“Lost”); } catch (Exception woman) { Trace(this.Fault); } #songsincode
  • @brotzeitbrettl: for(int i=0; i==0; i=1) { we.celebrate(); oh_yeah.allright(); dancing.stop = false; } #songsincode
  • @chiihime: foreach (night in myDreams) { me.see(you); me.feel(you); }; #songsincode
  • @joestump: if (IN_YOUR_ARMS && TONIGHT) { die(); } #songsincode
  • @brentgarner: if($theEnd){$loveYouTake = $loveYouMake;} // #songsincode #beatles
  • @stewartyu: while(money++) { problems++; } #songsincode
  • @dustinfineout: if (time.equals(‘hammer’)) { this.touchable = false; } #songsincode
  • @kevinwo: hold($me, $close++, $tiny_dancer); #songsincode
  • @llemirtrauts: for(var oclock = 1; oclock <= 12; oclock++){rock();} #songsincode
  • @abachman: you.dance if you.want_to?; #songsincode
  • @dbrady: i == sky << eye; i.looking!(@you); i.authorized?(your.mind, :read) == true #songsincode
  • @zarkon: if (you.loves(somebody)) { them.set(free); } #songsincode
  • @llemirtrauts: @paynen [money, show, getReady, goGoGo].forEach(function(value, key) {key + for(value);});!stepOnMy(blueSuedeShoes); #songsincode
  • @jonrimmer: x = ‘Umbrella’; you.Permissions[‘StandUnder’] += self.GetPossession(x + x.Right(4) + x.Right(4) + ‘eh’ * 3) #songsincode
  • @jverdi: while(true) {if(!this.touch()) {echo “can’t touch this”;}}#songsincode
  • @tiemez: while(false){ self.giveYouUp(); self.letYouDown(); self.runAround(); self.desertYou(); } #songsincode
  • @mikemangi: function iWant(){ $rocknroll=’allnite’; $party=’everyday’; keepon($rockn); } #songsincode
  • @librarythingtim: if(!woman) { cry = false; } #songsincode
  • @motherwell: if(you.think(sexy) == true && you.want(myBody) == true ) { you.tellMe(so) } #songsincode
  • @TjoosDude: me.see(you.watch(me.watch(you))); #songsincode
  • @cameronhunter: (function( you ){ return you.getLove().matches(/bad medicine/) })() #songsincode
  • @tower10: @paynen function () { walk(this).way(); talk(this).way(); } #songsincode
  • @eviltabbycat: public interface egyptian {public void walk();} #songsincode
  • @frenchs: int *chicks = (int*)malloc(sizeof (int)); int *money = null; free(chicks); #songsincode #rusty_c
  • @joestump: if (HUMPTY_DANCE) { define(‘TRANCE’, true); do_the_hump(); } #songsincode
  • @paynen: (girls == boys).like(girls.do(boys.like(girls.do(girls.like(boys)))) #songsincode
  • @beenewilliamr: dc -e'[dsm1laxsr]sj[2/ljxlcxq]st[3*1+ljx lcx]sy[d1=qd2%0=td2%0!=y]sc[100P]sw[0P] se[q]sq[d1700!>qdlm%d0=w d0!=esr1+lax]sa28lcx’ #songsincode
  • @skatterbean: if not self.check(): self.wreck() #songsincode (thanks do @dreid for the bug fix)
  • @frenchs: if(!roxanne) { self::turnOnLight(self::RED); } #songsincode
  • @eegiffin: class HotelCalifornia { void checkOut () { canLeave=false; } } #songsincode
  • @ald: try { Britney.Sing(); } catch (Exception ex) { throw new Exception(“Oops”); } #songsincode
  • @herlifeinpixels: while you.find(me, indaclub): me.sipping(bub); if isinstance(you, sexylilthug): you.need = me.got; #songsincode
  • @dhinojosa: assertTrue(heat.isOn()) #songsincode #glennfrye
  • @llemirtrauts: [].push(“ah”).push(“good”).push(“real good”);#songsincode
  • @ara_p: roof.set(“fire”, true); #songsincode
  • @proxymoron: if(wantTo) { we = dance(); } friends = !dance(); if(friends != dance()) { we.remove(friends); } #songsincode

For some unexplainable reason, I found a lot of developers tweeted/coded the song Dude (Looks Like a Lady) by Aerosmith.

Dude (Looks Like a Lady)

  • @davglass: var Dude = new Lady();#songsincode
  • @jrconlin: @davglass Shouldn’t that be: (Lady) new Dude; ? #songsincode
  • @Slow3000: dude.setLook(Looks.LADY); #songsincode
  • @krigsi: LooksLike(“Dude”,”Lady”) #songsincode
  • @ptone: import dude as lady #songsincode
  • @clindh: looks == (lady)dude; #songsincode

I found these three variants of Jay-Z’s song 99 Problems interesting.

99 Problems

  • @brotzeitbrettl: echo count($this->problems) == 99; foreach($this->problems as $p) { echo ($p instanceof Bitch) == false); } #songsincode
  • @peterc: Okay, just one more: # problems.size == 99 && !problems.include?(“bitch”) #songsincode
  • @tome: en(problems) == 99 and “bitch” not in problems

Some songs, in code, by Michael Jackson.

RIP MJ

  • @techknow: dianna.setDirty(true) #songsincode
  • @pud: If (BillieJean.is != my.lover) { BillieJean.justa = ‘girl’; i = 1; } #songsincode
  • @RobertFischer: !my.isLover(billyJean) && billyJean.claims(my.theOne) && !my.isSon(theKid) #songsincode
  • @krigsi: if($Annie = ‘OK’) { SmoothCriminal(Hit) } #songsincode