Free Republic
Browse · Search
News/Activism
Topics · Post Article

To: RadioAstronomer

That had to be a big "Oh $h|t!" moment!!

I've written code I just COULD not debug before.

I finally threw away what I was working on and rewrote it, this time it worked right.

Eyeballing the old VS the new I could NOT see the difference - they looked the same!

I used a COMPARE function on both sources and the computer found what I could not, a comma where a Dp should be.

test, Test, TEST!!


364 posted on 03/17/2007 6:36:37 AM PDT by Elsie (Heck is where people, who don't believe in Gosh, think they are not going....)
[ Post Reply | Private Reply | To 322 | View Replies ]


To: Elsie
I used a COMPARE function on both sources and the computer found what I could not, a comma where a Dp should be.

All software has bugs. All software can be simplified.

Therefore all software in the world can be reduced to one line that does not work!

A good IDE like Eclipse or Visual Studio should help with things like that, but I know what you mean. Just last week I had a function that was incorrectly calculating a score for a survey. I wasted 4 hours trying to figure out why. Finally one of my new hires, a fresh-out-of-college fella, wanders by and I ask him to look at it, fresh eyes.

He leans over and says, "Right there, you used the wrong variable!

Some days . . . :-)

368 posted on 03/17/2007 11:10:40 AM PDT by Dominic Harr (Conservative: The "ant", to a liberal's "grasshopper".)
[ Post Reply | Private Reply | To 364 | View Replies ]

Free Republic
Browse · Search
News/Activism
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson