Le 26 juin 2012 à 16:26, Paul Eggert a écrit :

> On 06/26/2012 02:03 AM, Akim Demaille wrote:
>> I find avoiding assert useless and actually painful.
> 
> For tests it doesn't matter and I have no objection.

OK, thanks.

> For production code, 'assert' typically bloats the code
> compared to 'abort'.  It's easy enough, if you prefer
> the the 'assert' style, to define an 'assert'-like function
> of your own,  That is cleaner than a macro anyway, since
> it doesn't have the problem of changed behavior
> when you compile with -DNDEBUG.

Which is already what you did with aver :)

Thanks!


Reply via email to