finished problem B refactoring

Posted on July 20th, 2008 in Uncategorized by sam

Because I promised in my last post, and because I like to show off, here are the results of my refactoring code jam problem B. Old and new. Took it from 143 lines to just 69 - I’m definitely happy with that.

  • Digg
  • del.icio.us
  • blogmarks
  • Fark
  • Reddit
  • Slashdot
  • Technorati
  • Propeller
  • StumbleUpon

2 Responses to 'finished problem B refactoring'

Subscribe to comments with RSS or TrackBack to 'finished problem B refactoring'.


  1. on July 20th, 2008 at 10:29 pm

    Looking good Sam.
    If you start getting into more complicated command lines you should look into the Groovy CLIBuilder. See this example, http://docs.codehaus.org/display/GROOVY/WrappingGroovyScript

    Its’ pretty sweet.

  2. sam said,

    on July 21st, 2008 at 6:12 am

    Ooo thanks

Post a comment