in reply to Re^2: The joys of bad code
in thread The joys of bad code
will work. I think the point wasn't about incrementing a variable by one, but feeling the need to document it. I do see the point in documenting it (not in what the code does, but why it does it), but to each their own.$self->total++; # nor $self->total = $self->total + 1;
Cheers - L~R
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: [OT] The joys of bad code
by Happy-the-monk (Canon) on Oct 26, 2004 at 11:27 UTC | |
by hardburn (Abbot) on Oct 26, 2004 at 13:38 UTC | |
by Happy-the-monk (Canon) on Oct 26, 2004 at 13:59 UTC |