[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tests to assure debug remnants are not in our sources?



On Fri, Sep 11, 2015 at 11:05:48PM +0200, Erik Huelsmann wrote:

> Every once in a while, some debug code ends up in a release.

> "use Carp::Always"
> "use Data::Dumper"
> "print STDERR"

> not to appear in any files in LedgerSMB/, bin/ and LedgerSMB.pm


> Any objections?

Use perlcritic.

I always feel ambivalent as I remove debug code.  "The code must not
be that readable" versus "this verification is so unnecessary it is
embarassing".  

Rob

------------------------------------------------------------------------------
_______________________________________________
Ledger-smb-devel mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-devel