[Next] [Prev] [Up] [Top]

11.0 Variables

Prefer initialization to separate assignment (GL)


The following code snippets should illustate this point.

int i; // bad no initialization

...

i = 10; // why wait till here

int i = 10; // good


No Title
[Next] [Prev] [Up] [Top]

Generated with CERN WebMaker

This site was grabbed using the TRIAL version of Grab-a-Site. This message does not appear on a licensed copy of Grab-a-Site.