"be consistent" | |
PerlMonks |
Re: Worst thing you ever made with Perlby jonadab (Parson) |
on Sep 30, 2003 at 18:33 UTC ( [id://295380]=note: print w/replies, xml ) | Need Help?? |
I hate maintaining code that is interrupted by documentation. I prefer updating the code first, documentation later. If I do that, I end up with incorrect or obsolete documentation. I specifically like to see the ($foo, $bar, $baz) = @_; right above the documentation of the function's arguments, so that if I add any other optional args I see the mismatch and update the docs.
In Section
Meditations
|
|