Teaching Programming

Gregory Ewing greg.ewing at canterbury.ac.nz
Sat May 8 00:21:39 EDT 2010


alex23 wrote:

> This is my biggest issue with Knuth's view of literate programming. If
> the generated source isn't readable, am I just supposed to trust it?
> How can I tell if an error lies in my expression of the algorithm or
> in the code generation itself?

Knuth would say that the code generator should itself be
a literate program, so that it's obviously correct. :-)

-- 
Greg



More information about the Python-list mailing list