Results 1 to 4 of 4

Thread: twelveDays<Christmas>

  1. #1
    PowerPoster techgnome's Avatar
    Join Date
    May 02
    Posts
    21,636

    twelveDays<Christmas>

    I know it's a bit late, but just has someone send this to me...
    c# Code:
    1. function twelveDays<Christmas>() {
    2.   // Twelve SQL queries,
    3.   // Eleven XML parses,
    4.   // Ten external programs,
    5.   // Nine RMI calls,
    6.   // Eight LDAP queries,
    7.   // Seven serializations,
    8.   // Six caught exceptions,
    9.   // Five di-a-logs!
    10.   // Four URLs,
    11.   // Three GC's,
    12.   // Two JAR downloads, and
    13.   return pearTree.add("Partridge");
    14. }


    Here's the VB version:
    vb Code:
    1. function twelveDays(Of Christmas)() as String
    2.   ' Twelve SQL queries,
    3.   ' Eleven XML parses,
    4.   ' Ten external programs,
    5.   ' Nine RMI calls,
    6.   ' Eight LDAP queries,
    7.   ' Seven serializations,
    8.   ' Six caught exceptions,
    9.   ' Five di-a-logs!
    10.   ' Four URLs,
    11.   ' Three GC's,
    12.   ' Two JAR downloads, and
    13.   return pearTree.add("Partridge")
    14. End Function

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.-I also subscribe to all threads I participate, so there's no need to pm when there's an update.*
    *Proof positive that searching the forums does work: View Thread *
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *
    * Use Offensive Programming, not Defensive Programming. * On Error Resume Next is error ignoring, not error handling(tm).
    "There is a major problem with your code, and VB wants to tell you what it is.. but you have decided to put your fingers in your ears and shout 'I'm not listening!'" - si_the_geek on using OERN

  2. #2
    Loquacious User Shaggy Hiker's Avatar
    Join Date
    Aug 02
    Location
    Idaho
    Posts
    20,390

    Re: twelveDays<Christmas>

    It's LATE

    I thought I had 10 months or more!!
    My usual boring signature: Nothing

  3. #3
    Addicted Member
    Join Date
    Mar 07
    Posts
    166

    Re: twelveDays<Christmas>

    "Siri, remind me to revive this thread on December 24."
    Mitt Romney for US President! 2012 is his year!

    Check out my pins on Pinterest!

  4. #4
    Hirsute Mumbler FunkyDexter's Avatar
    Join Date
    Apr 05
    Location
    An obscure body in the SK system. The inhabitants call it Earth
    Posts
    2,412

    Re: twelveDays<Christmas>

    Hey Moonman, don't forget to revive this thread on Dec 24.

    You're welcome.
    When one of my minions says, "Hey, he's just one guy, what can he do?" I say "This"... and shoot them.

    The problem with putting your lair in a volcano is keeping your robot army from melting.

    I know that the human being and the fish can coexist peacefully - George Bush

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •