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

Off-by-one errors only affect good programmers. Otherwise you just add enough of such errors that all the under- and over-summing cancels out.

7 years ago, when I was a new programmer, I did use a technique like that to fix some JavaScript. I feel brave confessing that.



Just I case FYI: the off by one errors is part of the joke of the statement.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: