Y
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
Koshkin
1293 days ago
Good point, actually. Many cases of undefined behavior are clearly visible to an experienced C programmer when they review someone else’s code.
link
pjmlp
1292 days ago
By whom? Most places still don't do proper code reviews or unit testing.
link