Quote Originally Posted by Arjay View Post
I guess it depends on whether the buggy code is an obvious problem.<snip></snip>Sure, the code above won't compile, but it gets the point across and hopefully the user will catch the error (well all but the most beginning coder should catch the compiler error).
Typos, like that (unless pointed out immediately) are unlikely to cause problems even if totally ignored...

But...AS I posted...

Code compiles, runs, and givens the correct answer, but is flawed because a temporary (which just didnt happen to get overwritten is use)
It could be run for a long time without this error being exposed, but a simple re-org of the code would (possibly) break it.