Well, forgive an old man for intruding into this thread, but man o man! does this remind me of my early days of programming Algol on a B5500, where we ran informal contests to see who could generate the most compiler error messages with a single typo. (hint: try omitting the final ";" on a statement, or the "end;" of a "for" loop).
Turns out it was good practice for detecting such errors in the wild. You had to think like the compiler when it was parsing the statements to see where it jumped the rails.
Albert
|