| Next | Program
Repair Shop ![]() |
8 |
unless ($page->param('round')) { # 1
$round = 0; # 2
}else {
$round = $page->param('round'); # 3
}
unless ($page->param('round')) { $round = 0 } # 1-2
else { $round = $page->param('round') } # 3
Basic principle: Items with new semantic content count; others do not
White space does not count
Each simple statement counts for 1
Control clauses such as while, if, etc. count for 1
do and else don't count
Don't worry too much about details
| Next | ![]() |
Copyright © 2002 M. J. Dominus |