Thursday, March 22, 2007

Bug Fixing what a "fun".

My the worst nightmare struck again. I have been asked for taking care of important piece of code and as soon as I said yes it happened.
Nice bug popped out of it.
As one can imagine the bug was of coarse a showstopper.
Reading, debugging, putting messages everywhere (it is a multi threaded and communicating with technology devices on very low level).

So, after all, I got it fixed.

Point? Always implement basic structures carefully with long term vision and focus on readability of your code.

(Implementing stack as Object[] stack = new Object(10); is a very bad idea ... indeed.)

P.

No comments: