{"id":843,"date":"2009-08-22T22:22:39","date_gmt":"2009-08-23T05:22:39","guid":{"rendered":"http:\/\/juixe.com\/techknow\/?p=843"},"modified":"2009-08-23T13:07:57","modified_gmt":"2009-08-23T20:07:57","slug":"songs-in-code","status":"publish","type":"post","link":"http:\/\/juixe.com\/techknow\/index.php\/2009\/08\/22\/songs-in-code\/","title":{"rendered":"Songs in Code"},"content":{"rendered":"<p>Programming related hashtags don&#8217;t make the top trend on Twitter.  But last Friday night, when most people are out except geeks, the hashtag <a href=\"http:\/\/search.twitter.com\/search?q=%23songsincode\">#songsincode<\/a> made it to the top trends on Twitter.  As of today, here some of my favorite <b>songs in code<\/b>.<\/p>\n<p><b>Songs in Code<\/b><\/p>\n<ul>\n<li>@juixe: if(self.getLikes().contains(BIG_BUTTS) &#038;&#038; !self.canLie()) {other.getBrothers().deny(false); you.getFace().add(ROUND_THING); you.getSprung()} #songsincode<\/li>\n<li>@techknow: Rhythm instanceof Dancer == true #songsincode<\/li>\n<li>@techknow: 2.times do we_will end; rock_you; face :has => &#8216;mud&#8217;; disgrace you, big #songsincode<\/li>\n<li>@anteaya: if &#8220;its&#8221; === 1999 then party; end #songsincode<\/li>\n<li>@cessor: for(int i = 99; i >= 0; i&#8211;) { Bottle b = _bottlesOfBeerOnTheWall[i]; b.Pass(); }  #songsincode #CSharp<\/li>\n<li>@seeflanigan: Love.is_a?(Battlefield) => true #songsincode<\/li>\n<li>@stewdio_org: return &#8220;that&#8217;s&#8221; + ( name.indexOf([ &#8220;girl&#8221;, &#8220;stacey&#8221;, &#8220;her&#8221;, &#8220;jane&#8221; ]) > 0 ? &#8220;&#8221; : &#8221; not&#8221; ) + &#8221; my name&#8221; #songsincode #tingtings<\/li>\n<li>@malvim: try { me.go(&#8220;rehab&#8221;); } catch { return &#8220;No, no, no!&#8221;; } #songsincode<\/li>\n<li>@bricriu: if (self.go() { return new Trouble() } else if (self.stay()) { return new Trouble().intValue() * 2} #songsincode<\/li>\n<li>@projektdotnet: int main(void){get_your($body_beat); let_your(blood_flow); return 0;} #songsincode<\/li>\n<li>@NescioPhone: try { margaritaville.Resolve<ISaltShaker>(&#8220;Lost&#8221;); } catch (Exception woman) { Trace(this.Fault); } #songsincode<\/li>\n<li>@brotzeitbrettl: for(int i=0; i==0; i=1) { we.celebrate(); oh_yeah.allright(); dancing.stop = false; } #songsincode<\/li>\n<li>@chiihime: foreach (night in myDreams) { me.see(you); me.feel(you); }; #songsincode<\/li>\n<li>@joestump: if (IN_YOUR_ARMS &#038;&#038; TONIGHT) { die(); } #songsincode<\/li>\n<li>@brentgarner: if($theEnd){$loveYouTake = $loveYouMake;}  \/\/ #songsincode #beatles<\/li>\n<li>@stewartyu: while(money++) { problems++; } #songsincode<\/li>\n<li>@dustinfineout: if (time.equals(&#8216;hammer&#8217;)) { this.touchable = false; } #songsincode<\/li>\n<li>@kevinwo: hold($me, $close++, $tiny_dancer); #songsincode<\/li>\n<li>@llemirtrauts: for(var oclock = 1; oclock <= 12; oclock++){rock();} #songsincode<\/li>\n<li>@abachman: you.dance if you.want_to?; #songsincode<\/li>\n<li>@dbrady: i == sky << eye; i.looking!(@you); i.authorized?(your.mind, :read) == true #songsincode<\/li>\n<li>@zarkon: if (you.loves(somebody)) { them.set(free); } #songsincode<\/li>\n<li>@llemirtrauts: @paynen [money, show, getReady, goGoGo].forEach(function(value, key) {key + for(value);});!stepOnMy(blueSuedeShoes); #songsincode<\/li>\n<li>@jonrimmer: x = &#8216;Umbrella&#8217;; you.Permissions[&#8216;StandUnder&#8217;] += self.GetPossession(x + x.Right(4) + x.Right(4) + &#8216;eh&#8217; * 3) #songsincode<\/li>\n<li>@jverdi: while(true) {if(!this.touch()) {echo &#8220;can&#8217;t touch this&#8221;;}}#songsincode<\/li>\n<li>@tiemez: while(false){ self.giveYouUp(); self.letYouDown(); self.runAround(); self.desertYou(); } #songsincode<\/li>\n<li>@mikemangi: function iWant(){ $rocknroll=&#8217;allnite&#8217;; $party=&#8217;everyday&#8217;; keepon($rockn); } #songsincode<\/li>\n<li>@librarythingtim: if(!woman) { cry = false; } #songsincode<\/li>\n<li>@motherwell: if(you.think(sexy) == true &#038;&#038; you.want(myBody) == true ) {  you.tellMe(so) } #songsincode<\/li>\n<li>@TjoosDude: me.see(you.watch(me.watch(you))); #songsincode<\/li>\n<li>@cameronhunter: (function( you ){ return you.getLove().matches(\/bad medicine\/) })() #songsincode<\/li>\n<li>@tower10: @paynen function () { walk(this).way(); talk(this).way(); } #songsincode<\/li>\n<li>@eviltabbycat: public interface egyptian {public void walk();} #songsincode<\/li>\n<li>@frenchs: int *chicks = (int*)malloc(sizeof (int)); int *money = null; free(chicks); #songsincode #rusty_c<\/li>\n<li>@joestump: if (HUMPTY_DANCE) { define(&#8216;TRANCE&#8217;, true); do_the_hump(); } #songsincode<\/li>\n<li>@paynen: (girls == boys).like(girls.do(boys.like(girls.do(girls.like(boys)))) #songsincode<\/li>\n<li>@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&#8217; #songsincode<\/li>\n<li>@skatterbean: if not self.check(): self.wreck() #songsincode (thanks do @dreid for the bug fix)<\/li>\n<li>@frenchs: if(!roxanne) { self::turnOnLight(self::RED); } #songsincode<\/li>\n<li>@eegiffin: class HotelCalifornia {  void checkOut () { canLeave=false; }  } #songsincode<\/li>\n<li>@ald: try { Britney.Sing(); } catch (Exception ex) { throw new Exception(&#8220;Oops&#8221;); } #songsincode<\/li>\n<li>@herlifeinpixels: while you.find(me, indaclub): me.sipping(bub); if isinstance(you, sexylilthug): you.need = me.got; #songsincode<\/li>\n<li>@dhinojosa: assertTrue(heat.isOn())  #songsincode #glennfrye<\/li>\n<li>@llemirtrauts: [].push(&#8220;ah&#8221;).push(&#8220;good&#8221;).push(&#8220;real good&#8221;);#songsincode<\/li>\n<li>@ara_p: roof.set(&#8220;fire&#8221;, true);  #songsincode<\/li>\n<li>@proxymoron: if(wantTo) { we = dance(); } friends = !dance();  if(friends != dance()) { we.remove(friends); } #songsincode<\/li>\n<\/ul>\n<p>For some unexplainable reason, I found a lot of developers tweeted\/coded the song Dude (Looks Like a Lady) by Aerosmith.<\/p>\n<p><b>Dude (Looks Like a Lady)<\/b><\/p>\n<ul>\n<li>@davglass: var Dude = new Lady();#songsincode<\/li>\n<li>@jrconlin: @davglass Shouldn&#8217;t that be: (Lady) new Dude; ? #songsincode<\/li>\n<li>@Slow3000: dude.setLook(Looks.LADY); #songsincode<\/li>\n<li>@krigsi: LooksLike(&#8220;Dude&#8221;,&#8221;Lady&#8221;) #songsincode<\/li>\n<li>@ptone: import dude as lady #songsincode<\/li>\n<li>@clindh: looks == (lady)dude; #songsincode<\/li>\n<\/ul>\n<p>I found these three variants of Jay-Z&#8217;s song 99 Problems interesting.<\/p>\n<p><b>99 Problems<\/b><\/p>\n<ul>\n<li>@brotzeitbrettl: echo count($this->problems) == 99; foreach($this->problems as $p) { echo ($p instanceof Bitch) == false); } #songsincode<\/li>\n<li>@peterc: Okay, just one more: # problems.size == 99 &#038;&#038; !problems.include?(&#8220;bitch&#8221;) #songsincode<\/li>\n<li>@tome: en(problems) == 99 and &#8220;bitch&#8221; not in problems<\/li>\n<\/ul>\n<p>Some songs, in code, by Michael Jackson.<\/p>\n<p><b>RIP MJ<\/b><\/p>\n<ul>\n<li>@techknow: dianna.setDirty(true) #songsincode<\/li>\n<li>@pud: If (BillieJean.is != my.lover) { BillieJean.justa = &#8216;girl&#8217;; i = 1; } #songsincode<\/li>\n<li>@RobertFischer: !my.isLover(billyJean) &#038;&#038; billyJean.claims(my.theOne) &#038;&#038; !my.isSon(theKid)  #songsincode<\/li>\n<li>@krigsi: if($Annie = &#8216;OK&#8217;) { SmoothCriminal(Hit) } #songsincode<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Programming related hashtags don&#8217;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) &#038;&#038; !self.canLie()) {other.getBrothers().deny(false); you.getFace().add(ROUND_THING); you.getSprung()} #songsincode @techknow: [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","footnotes":""},"categories":[19,3],"tags":[30,31,32,804,27,29,28],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p902K-dB","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/posts\/843"}],"collection":[{"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/comments?post=843"}],"version-history":[{"count":5,"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/posts\/843\/revisions"}],"predecessor-version":[{"id":848,"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/posts\/843\/revisions\/848"}],"wp:attachment":[{"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/media?parent=843"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/categories?post=843"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/tags?post=843"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}