IMO its good defensive coding practise to initialize every variable before use because it insures against further changes using uninitialized variables.
I'd like to hear the converse argument though. I think the compiler will just optimize out any redundancy really.
IMO its good defensive coding practise to initialize every variable before use because it insures against further changes using uninitialized variables.
I'd like to hear the converse argument though. I think the compiler will just optimize out any redundancy really.