JOpt Simple is my crack at command line option parsing. It is the offical version of my "getopts" TDD experiment. I implemented it TDD-style, and it felt great. Realistically, the software is beta-quality, but I need to get a bunch of stuff done before I declare a release -- proper web site and docs, mostly. I'm proud of the code. It supports the option syntax of POSIX getopt() and GNU getopt_long(). I thought I'd take a crack at this despite the existence of other libraries, because I found the code of the other projects to be unnecessarily gnarly, and containing features I didn't think belonged (type conversion on option arguments, for one).
Jaggregate is a collections library modeled after the ANSI Smalltalk collections protocols. It is unapologetically J2SE 5 only. It is a means to support my learning of Java generics and other J2SE 5 Java language features, and hopefully will grow in popularity and use. I have dictionaries, sets, and bags ready--am working on the sequences now. I probably could use more tests.
Please check out the code. I'd love to hear suggestions and feedback. I'm also fishing for better names for these projects--they kind of felt like a give-up when I named them.
Paul,
I like what you've done with Jaggregate. Have you seen this: http://citeseer.ist.psu.edu/black02applying.html which shows how to use traits to refactor out a lot of the duplication inherent in the original design of the smalltalk collections hierarchy?
Designing a better collections library has been an interest of mine for a long while (I started my own collections library last year --unreleased because I didn't believe that the improvements in design were worth the cost of asking people to learn a new approach) and I have a collection of links to related material and projects at: http://citeseer.ist.psu.edu/black02applying.html
I'm a ThoughtWorker so you should have no problem finding me in Notes.
Posted by: adewale oshineye | January 02, 2005 at 17:21
Paul, could you post a compare/contrast with other option parsing options? I'd find that helpful in deciding if JOpt Simple is for me. :-)
Posted by: B. K. Oxley (binkley) | January 03, 2005 at 09:37