in reply to Re: Re: Worst thing you ever made with Perl
in thread Worst thing you ever made with Perl
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.
$;=sub{$/};@;=map{my($a,$b)=($_,$;);$;=sub{$a.$b->()}} split//,".rekcah lreP rehtona tsuJ";$\=$ ;->();print$/
|
---|