A good programming block would always ensure that any variables declared would have gone through a neater and standardized way of having them initialised to suitable value. Even if it is NULL, better specify it as an explicit NULL.
This ensures a lot of advantages for everyone
- The runtime clearly knows the values.
- Proactive handling of the values and the variable at a later point of time and reducing the risk of failure/breakdown of code.
- Easy maintainability of code.
No comments:
Post a Comment