My coding style
From Andrey
(Difference between revisions)
Revision as of 22:36, 22 October 2011 Andrey (Talk | contribs) ← Previous diff |
Revision as of 22:36, 22 October 2011 Andrey (Talk | contribs) Next diff → |
||
Line 1: | Line 1: | ||
- | For those interested in my coding style, here is an utility class I wrote to for use in command line applications. It is surprising how often a command line app directly validates its argument array - instead of delegating at least some if its logic to some kind of rule-driven parser. Here's the helping hand. | + | For those interested in my coding style, here is an utility class I wrote to for use in command line applications. It is surprising how often a command line app directly validates its argument array - instead of delegating at least some if its logic to some kind of a rule-driven parser. Here's the helping hand. |
[[CommandLineParser.java]] | [[CommandLineParser.java]] | ||
[[CommandLineParserTest.java]] | [[CommandLineParserTest.java]] |
Revision as of 22:36, 22 October 2011
For those interested in my coding style, here is an utility class I wrote to for use in command line applications. It is surprising how often a command line app directly validates its argument array - instead of delegating at least some if its logic to some kind of a rule-driven parser. Here's the helping hand.