in reply to Re^2: Little annoying mistakes ... of others
in thread Little annoying mistakes ... of others
The funniest part is that all three for-loops (parent, this, and child) are wrong (which only is a great defense of the whole point). The correct versions are
My criteria for good software:
You guys had $i < $#names and $i <= @names. :-)for (my $i = 0; $i <= $#names; $i++) { ... } # or for (my $i = 0; $i < @names; $i++) { ... }
My criteria for good software:
- Does it work?
- Can someone else come in, make a change, and be reasonably certain no bugs were introduced?
|
---|
In Section
Meditations