Hacker News new | ask | show | jobs
by Sohcahtoa82 1293 days ago
I'll tell you what happens when someone writes:

      sprintf(buf, "%d %d", f(i), i++);
They get told to rewrite it.
2 comments

Good point, actually. Many cases of undefined behavior are clearly visible to an experienced C programmer when they review someone else’s code.
By whom? Most places still don't do proper code reviews or unit testing.