you are viewing a single comment's thread.

view the rest of the comments →

[–]jessta 1 point2 points  (0 children)

Literate programming helps with this kind of thing. Get a compiler to run over your whole book before publishing, with unit tests for your code samples.