tn3270: (Default)
[personal profile] tn3270
Got an important chunk of code working today, but it did not go easy.

First, although I have done more complicated stuff many times, I hit a mental block on implementing an algorithm that was not that complicated. Now that it is done, and I see how little code it actually was, its a little embarrassing how long it took. But its done now and seems to work, so I am declaring victory. Sometimes the brain just does not take to a task.

Second, in debugging, I hit a problem that was caused by the fact that I coded (a eq b) instead of (a ne b); needless to say the code was doing backwards to what I intended. These things will happen, but I stared at it for about a half hour before I saw it. Oops...

Date: 2004-01-14 05:24 pm (UTC)
From: [identity profile] dmnsqrl.livejournal.com
I once said that the amount of time it takes to find a bug in a program is quite proportional to the difference in size between the thing that shouldn't be there and the entire project it's in. If some brace got put in the wrong place somewhere in a 5 page document.... find a comfy chair, it's gonna be a while :)

Profile

tn3270: (Default)
tn3270

January 2016

S M T W T F S
     12
3456 789
10111213141516
17181920212223
24252627282930
31      

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Feb. 23rd, 2026 09:09 pm
Powered by Dreamwidth Studios