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.
-
Sam Jones
-

I'm a software developer working in the NoVA-Baltimore area. I'm also a husband, Catholic, futurist, linguist, gamer, musician, political scientist and philosopher.
A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects.
-Robert A. Heinlein
-
- Find Me
- twitter
- tumblr
- Now Reading
Planned books:
None
Current books:
Recent books:
- Medieval Sieges by Geoffrey Hindley
- Heavy Weather by Bruce Sterling
- The Zombie Survival Guide: Complete Protection from the Living Dead by Max Brooks
- Content: Selected Essays on Technology, Creativity, Copyright, and the Future of the Future by Cory Doctorow
- Born Fundamentalist, Born Again Catholic by David B. Currie
- Archives
- March 2010 (1)
- February 2010 (1)
- January 2010 (18)
- December 2009 (3)
- November 2009 (2)
- October 2009 (2)
- September 2009 (1)
- August 2009 (1)
- June 2009 (1)
- February 2009 (1)
- January 2009 (2)
- November 2008 (2)
- July 2008 (2)
- June 2008 (1)
- May 2008 (1)
- April 2008 (2)
- March 2008 (1)
- January 2008 (3)
- December 2007 (2)
- November 2007 (5)
- October 2007 (4)
- September 2007 (2)
- August 2007 (2)
- July 2007 (55)


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.
Ooo thanks
Hi, I found your blog on this new directory of WordPress Blogs at blackhatbootcamp.com/listofwordpressblogs. I dont know how your blog came up, must have been a typo, i duno. Anyways, I just clicked it and here I am. Your blog looks good. Have a nice day. James.
groovy.