??? 03/05/10 13:13 Read: times Msg Score: +1 +1 Good Answer/Helpful |
#173876 - I Elect to Totally Disagree Responding to: ???'s previous message |
Erik Malund said:
this removes the need to "Carefully comb through" which I have seen fail
I happen to detest any coding style that makes assumptions about default values of variables. In my book all code should have explicit initializers or code lines that specify the starting values of all variables. Assumptions about default starting values are too easily missed in peer design review of code. Using the default startup values of variables as a "save your butt" system is not good enough in my experience. The coder needs to apply way more rigor to the development process than to accept he/she will be saved by default zero values. Michael Karas |