Positive Consequence Provided with
error-free examples, your readers may
have an easier time to
understand the point you are making.
Negative Consequence Some people may become less alert reading a
text when they cannot spot an occasional error.
Known Uses In
The Practice of
Programming, Kernighan and Pike write: "...
We've tried hard to write our own code well and have tested it on a
dozen of systems directly from the machine-readable text."[
2a]
In
The C Programming Language, Kernighan and Ritchie
write: "As before, all examples have been tested directly from the text,
which is in machine readable form."[
2b]
In
The AWK Programming Language, Aho, Kernighan, and
Weinberger write: The examples have all been tested directly from the
text, which is in machine readable form."[
2c]
Well, a clear pattern emerges here.
Related to this are texts created with a
literate programming
system (
http://en.wikipedia.org/wiki/Literate_programming),
such as [
2d] and [
2e].