Twitcode: A Program in 130 Characters

I came across the Twitter hashcode #twitcode that folks where using to tweet code that fit under 130 characters. After searching for more twitcode here are the ones I thought where the best, as of this writing.

  • @gsale: if(apathetic){System.out.print(”Don’t care.”)}elseif(ignorant){System.out.print(”Don’t Know.”)}else{(System.out.print(”tweet”))}
  • @bifethewise: $madness ? $this.is = MADNESS : $this.is = SPARTAAAA;
  • @eggsy84: function dance(year) { if (year == 1990) { stop(); hammertime(); } }
  • @fhussains: On Error GoTo HELL
  • @TurkoAmericano: if (you.AreHappy && you.KnowIt) you.ClapHands();
  • @longhorn2005: // TODO: Don’t forget to write something funny…like oh my GOD somebody is trying to use me.!! CODE RED, I REPEAT CODE RED!
  • @misspentlife: double evil = 666; double money = Math.Sqrt(evil);
  • @mmetzger: Little late to the game but – public bool got(baby b) { return b.contains(”back”) ? true : false; }
  • @dbutscher: if (we.WantTo) {we.CanDance() && we.CanLeaveYourFriendsBehind()}
  • @yboyacigil: to.be() || !to.be()
  • @purpig: if ((drinking)); then cat /productivity > /dev/null 2>&1 fi
  • @Iggyhopper: if (onGrass) Yell(”GET OFF MY GRASS”); else Sleep()
  • @dbutscher: if (you.Want(this.Body) && you.Think(this.IsSexy)) {baby.Notify(this);}
  • @dbutscher: if (!atFirst.Succeed) {try {again} }
  • @captaincrash80: if (drinking) { drive = false; } else { you.inJail = true; }
  • @Tchovis: while(!drunk){ if(party.start){drink(beer)}else{drink(vodka)}if(vomiting) drunk = true; )
  • @kronius: SELECT thoughts, dreams, ideas FROM head WHERE allThis LIKE ‘work related’ ORDER BY quality;
  • @ltlfrari public int WhatIsTheMeaningOfLifeTheUniverseAndEveryThing() { return 42; }
  • @TurkoAmericano: public int GimmeFive() { return 5; }
Enjoy. Share. Be Happy.
  • Twitter
  • Facebook
  • StumbleUpon
  • del.icio.us
  • Tumblr
  • Google Bookmarks
  • FriendFeed
  • Yahoo! Buzz
  • Reddit
  • Digg
  • HackerNews
  • Suggest to Techmeme via Twitter
  • LinkedIn
  • Ping.fm
  • Identi.ca
  • Mixx
  • Furl

Related posts:

  1. Print a PDF Document in Java
  2. Songs in Code
  3. Print HTML Using IE
  4. Jakarta Commons Lang Builders
  5. Debugging Users and Invisible Characters

This entry was posted in TechKnow. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

3 Comments

  1. Posted May 27, 2009 at 4:52 pm | Permalink

    Haha…some funny ones there.

  2. Posted May 30, 2009 at 11:47 am | Permalink

    nice :)

  3. Posted June 4, 2009 at 9:00 am | Permalink

    Haha! Those are great.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*