Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The point is that the code is hard to understand. In this case it's a bracket misplaced, so the compiler will pick it up immediately, but if it's a misplaced +1 or index then you won't notice until you get hacked with a buffer overflow.

Now if you put each argument on it's own line, or use reasonable variable names - something that C programmers seem to fight against - neither of those bugs happen, because you can just look at the code and see the problem straight away.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: