[Baypiggies] code down sizing

Andy Wiggin andywiggin at gmail.com
Sat Sep 2 00:28:54 CEST 2006


The standard "cmd" module provides a class which does the suggested
lookup/dispatch, but using reflection. You just define methods like
do_a(), then "a" automatically becomes a recognized command.  That
might be slightly simpler, and you get command recall, etc. -Andy


More information about the Baypiggies mailing list