Command line programs are classes, too!
Most OOP discussions focus on GUI or domain-specific development areas, completely ignoring the workhorse of computing: command line programs. This article examines CommandLineApp, a base class for creating command line programs as objects, with option and argument validation, help text generation, and more.
Read more
This article was originally published by Python Magazine in January of 2008.

0 comments:
Post a Comment