Quoth "Richard O'Keefe" <o...@cs.otago.ac.nz>,
...
>> Of course code generation is perfectly fine when the output is not
>> intended to be read and maintained by a human.
>
> "Read" and "maintained" are two different issues.
> Depending on the tool-chain, it may be necessary for people to
> read the generated code while debugging.

Indeed, for my modest purposes it has been easy enough to generate
code in a conventional, readable format - and honestly it's better
self-documentation than the code I write directly.  The mechanical
consistency of generated code makes it especially transparent.

        Donn Cave, d...@avvanta.com
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to