I don't know what the first law is, but I'm basing the 2nd law of code generation around the 2nd law of thermodynamics. Basically, when you use a code generator, business value only decreases. That's why you should start at the highest level.
I'm working on some tools that generate code from documentation.
Thanks for the reminder. This applies directly to my (internal) DSL-heavy project, so now I know to go back and see just how closely I can make it resemble an actual screenplay before the language directs some hapless screenwriter too deeply into "coding hell". :)
ReplyDelete