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.
2 Responses to 'finished problem B refactoring'
Subscribe to comments with RSS
or TrackBack to 'finished problem B refactoring'.
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.
on July 21st, 2008 at 6:12 am
Ooo thanks