Zone38 Presents...
Letters to the World


while (x != 0) head.Bang(desk);

Filed under: General — codeman38 @ 12:30 am

Argh. While working on a programming assignment for File Structures class, I’ve come to the conclusion that I absolutely detest off-by-one errors. They’re so easy to make, considering that our natural human impulse is to begin counting at one rather than zero; yet they can wreak an immense amount of havoc on even the simplest program. It’s quite annoying to see an algorithm that took several hours to write end up failing because it’s reading in values from a nonexistent address… and it’s even more annoying to try to debug it, because it’s so hard to find the actual source of the error.

© 2001-2023 codeman38. Powered by WordPress.