Friday, September 26, 2008

Initialise the Variables

Initialise the Variables

 

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

  1. The runtime clearly knows the values.
  2. Proactive handling of the values and the variable at a later point of time and reducing the risk of failure/breakdown of code.
  3. Easy maintainability of code.

No comments:

[Imported from Blogdrive]Online Virus Scanners

Online Virus Scanners Virus Scanners are no longer difficult to install, tedious to configure. There are easy to use Online Virus Scanne...