Code Generators
blasdel: "code generation with dynamically-typed languages is dead and I'm trying to apply my statically-typed background to a dynamically-typed foreground?"THISDon't ever generate boilerplate Python code (especially 'fill in the blanks' crap). You're using a language where you can put the data in an appropriate structure used by high-order code.You don't even have to make a new data structure if the information is already present. For instance, I wrote a python library that when called as an executable, looks up 'tool verb' style commands by looking at the methods on the available classes, gets the help from __doc__, and the extra optargs from attributes on the methods (added via a decorator).