IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 2381


Ignore:
Timestamp:
Nov 17, 2004, 10:51:07 AM (22 years ago)
Author:
jhoblitt
Message:

don't needlessly initialize variables

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/misc/perlCodeConventions.tex

    r2379 r2381  
    1 %%% $Id: perlCodeConventions.tex,v 1.21 2004-11-17 00:08:50 jhoblitt Exp $
     1%%% $Id: perlCodeConventions.tex,v 1.22 2004-11-17 20:51:07 jhoblitt Exp $
    22\documentclass[panstarrs]{panstarrs}
    33
     
    643643\subsection{Initialization}
    644644
    645 Try to initialize local variables where they're declared.  The only
     645Try to initialize local variables where they're declared.  Do not initalize
     646variables with an empty string or list - this is pointless.
     647
    646648reason not to initialize a variable where it's declared is if the
    647649initial value depends on some computation occurring first.
Note: See TracChangeset for help on using the changeset viewer.