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.

1 Comment »

  1. i totally agree

    Comment by dneishya — 20-Sep-2007 @ 10:41 am

RSS feed for comments on this post.

Leave a comment

You can use these HTML tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

© 2001-2023 codeman38. Powered by WordPress.