General discussion

Locked

Troubleshooting programming code is like

By Tink! ·
Tags: Off Topic
trying to find the bad bulb on an old string of Christmas lights.

(You know, the old series circuit kind that won't light if one bulb is burnt out.)

I was griping to my SO about how 1 wrong letter, number or even punctuation in the programming code could make the whole thing not work and this metaphor popped in my head. :)

Just had to share it with y'all.

This conversation is currently closed to new comments.

5 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Even some newer models.

by seanferd In reply to Troubleshooting programmi ...

A segment of lights will go out, and you still have to check all through that module. And maybe it isn't one burnt out light, but the module itself is bad.

Collapse -

Tink

by HAL 9000 Moderator In reply to Troubleshooting programmi ...

With Internment's that's the way it's always been.

Is it any wonder I stopped looking at Code to find problems?

I can remember a bank once where if you stood on the right leg when the wind was blowing the wrong way at 3.56 in the afternoon and entered the wrong digit you could bring the entire system down country wide. 300,000 lines of code to find the addition that had been added that caused this to happen only took several weeks to make certain that I had gone COMPLETELY INSANE.

Honestly chasing Apprentices around with 14 inch long Phillips Screwdrivers to kill them with was just so much easier not to mention safer. You never tried to tear your hair out when the Apprentice who knew so much more than you did screwed things up yet again and added several hundred thousand $ and weeks to the Absolutely Urgent repair. :0

Col

Collapse -

I thought they had a "Debugger" to debug program codes..

When i used to do some coding back in the days of old, i used to do 2000 lines of code, and you are correct, if you miss out one number, punctuation or letter (or many) then the program would not work but at least when you hit "run" it would flag up "Line error so or so". Many a times i have to slot in a question mark, letter or number depending on what was needed and then hit "run" again to test it out until it ran good and true, so yes it takes sometime to do, until someone buggers it up. :)

Collapse -

problem is

by Jaqui In reply to I thought they had a &quo ...

a debugger only tells you where, not what exactly

and the what throwing the error where the debugger says could be a function call.
making an entirely different where the problem code.
and you have to check the entire function itself over.

Collapse -

Coding is like learning a new language....

Hard at first but it gets easier as you learn and understand the basics.
Read, understand, learn and test (Rulat).

Back to After Hours Forum
5 total posts (Page 1 of 1)  

Related Discussions

Related Forums