Writing too much code is bad.
Oct. 19th, 2004 04:21 pmNo doubt, there is a limit of code one can write per day,
and it looks like my limit is not as good as I always dreamed about...
Just wrote this in the test case:
if ((d > '0') && ('d' < 9))
The compiler was more clever them me and optimized this out ;)
The good news for me is that I am no longer an embedded developer, so debugging this took 5 minutes from start till laughing out loud. The bug like this could take up to one day in my past projects, w/o source level debuggers with kernel panics, blue screens or h/w faults due to bug ;)
and it looks like my limit is not as good as I always dreamed about...
Just wrote this in the test case:
if ((d > '0') && ('d' < 9))
The compiler was more clever them me and optimized this out ;)
The good news for me is that I am no longer an embedded developer, so debugging this took 5 minutes from start till laughing out loud. The bug like this could take up to one day in my past projects, w/o source level debuggers with kernel panics, blue screens or h/w faults due to bug ;)