[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: assert with formatting
- From: Javier Guerra Giraldez <javier@...>
- Date: Fri, 13 Jul 2018 17:21:01 +0100
On 13 July 2018 at 17:17, Dirk Laurie <email@example.com> wrote:
> 'assert' is not about performance. It is about catching blunders at a
> point where you hope you can track them.
very true; but at the same time, it should be as light as possible in
the common case, so you can put it everywhere without remorse and
leave them in production code.