torkell: (Default)
[personal profile] torkell
Bug of the day:

While Not RS.EOF
foo = foo + 1
Wend

As with all blindingly obvious bugs, it managed to survive a code walkthrough.

Date: 2008-11-19 10:23 pm (UTC)

Date: 2008-11-20 02:44 am (UTC)
From: [identity profile] olego.livejournal.com
Ha! Kinda reminds me of that poem, about that programmer, who had something like

while (eflags.overflow)
    foo++;

that baffled everyone.

Date: 2008-11-20 02:45 am (UTC)
From: [identity profile] olego.livejournal.com
Err, I forgot a "not" there, but just as well. :-)

Date: 2008-11-20 10:32 pm (UTC)
From: [identity profile] olego.livejournal.com
Wow, that's intense.

I've also encountered mild examples of this, but not something that looped from 1 cent to 999,99 cents. Man, I need to read this site more. :)

Date: 2008-11-20 10:06 am (UTC)
From: [identity profile] tau-iota-mu-c.livejournal.com
Depends if foo's plus operator is overloaded to do something funky to RS or not :)

January 2026

S M T W T F S
     123
45678910
11121314151617
18192021222324
25262728293031

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated May. 8th, 2026 06:35 am
Powered by Dreamwidth Studios