My coding style

From Andrey

Revision as of 09:02, 23 October 2011; view current revision
←Older revision | Newer revision→

When coding, I try to make it as readable as possible - and encourage others to do the same. Here is an utility class I wrote to for use in command line applications. It is surprising how often command line apps directly validate their argument arrays, while it is possible to delegate at least some logic to some kind of rule-driven parser. Here's the helping hand:

CommandLineParser.java

CommandLineParserTest.java