[Haskell-beginners] Generating Code To Embed in an Event Loop

Stephen Tetley stephen.tetley at gmail.com
Wed Oct 26 20:01:40 CEST 2011


Hi Darrin

I'd contend code generation isn't particularly hard or even tedious,
but there are two big problems. One, its inflexible - its almost
always easier to change code in the target language than a generator.
Two, in essence a generator already contains the target program plus
the scaffolding to generate it. If you don't have many variations to
generate it is more work (often much more work) to make a generator
rather than hand code the target language program.

Best wishes

Stephen



More information about the Beginners mailing list