IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 22, 2004, 4:51:32 PM (22 years ago)
Author:
jhoblitt
Message:

use consistent case for # AVOID!

File:
1 edited

Legend:

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

    r2399 r2400  
    1 %%% $Id: perlCodeConventions.tex,v 1.24 2004-11-23 02:49:54 jhoblitt Exp $
     1%%% $Id: perlCodeConventions.tex,v 1.25 2004-11-23 02:51:32 jhoblitt Exp $
    22\documentclass[panstarrs]{panstarrs}
    33
     
    579579    $x = sqrt($x2);                         # Correct
    580580    $i++;                                   # Correct 
    581     $x = sqrt($x2); $i++;                   # Avoid!
     581    $x = sqrt($x2); $i++;                   # AVOID!
    582582\end{verbatim}
    583583
     
    611611\begin{verbatim}
    612612    return undef;                           # Correct
    613     return;                                 # Avoid!
     613    return;                                 # AVOID!
    614614
    615615    return $myDisk->size;
     
    697697
    698698\begin{verbatim}
    699     foreach (@workingList) {                # Avoid!
     699    foreach (@workingList) {                # AVOID!
    700700        # do stuff with $_
    701701    }
Note: See TracChangeset for help on using the changeset viewer.