Carp-Assert reviews

cpanratings
 

RSS | Module Info | Add a review of Carp-Assert

Carp-Assert (0.18) *****

Having assertions makes development and debugging much easier.

The only down sides are that it's not part of the standard Perl distribution, and (maybe I'm wrong about this) if a module uses it, can the script that uses that module override the use/no Carp::Assert setting.

Robert Rothenberg - 2004-03-03T09:58:31 (permalink)

Was this review helpful to you?  Yes No

Carp-Assert (0.17) *****

Assertions are a good thing: by writing them you are documenting your code and make it safer at the same time.
On top of that, you can (mostly) eliminate the performance cost of these assertions (e.g. by setting an environment variable) in your production code.
I really don't mind writing an "if DEBUG" after each assertion.

jczeus - 2003-10-27T06:19:30 (permalink)

Was this review helpful to you?  Yes No