[zeromq-dev] Compatibility 3.1 - 3.2.1-rc2

Pieter Hintjens ph at imatix.com
Fri Nov 16 18:22:34 CET 2012


On Fri, Nov 16, 2012 at 9:05 PM, Aurélien Vallée
<vallee.aurelien at gmail.com> wrote:

> Asserts are made to check for clear incoherent behavior in a library.
> Something that just could not happen if the library is coded properly. They
> should check for things like function pre/post conditions. They are for
> library developers, not end users!

Fully agreed.

> This may be generalized to the fact that asserts should not be used for
> anything exterior to the library (such as the wire protocol).

Indeed.

We hunt down and remove all asserts that are wrongly used. There are a
few left. They are unwelcome remnants.

-Pieter



More information about the zeromq-dev mailing list