I guess I don't mind this but I wonder what you are trying to achieve? I
mean, you have a running system and all of a sudden you get an assertion
failure. What are you going to do?

I always wondered whether code assertions are really the right tool for the
job...
In my opinion it would be better to add a bunch of unit tests to the system
and put all your assertions in there. That way your assertions are part of
the continuous build & test cycle and when there is an assertion failure you
will actually have the opportunity to do something about it: fix the code
and rerun the tests...

Best regards,

David

2009/10/3 Alan D. Cabrera <[email protected]>

> Does anyone mind if I start putting in assert statements in the code?
>
>
> Regards,
> Alan
>
>

Reply via email to