To assert() or not to assert(), that is not really a question...

Mark R V Murray mark at grondar.org
Sat May 26 12:50:15 UTC 2018



> On 26 May 2018, at 08:19, Poul-Henning Kamp <phk at phk.freebsd.dk> wrote:
> 
> When I started writing Varnish Cache, on of the first decision was
> that I would pepper the source code with asserts even "pointless"
> ones, and I did to the order of 10% of all source file lines, and
> it is probably the best decision I have ever made.

+1 from day-job experience!

M
--
Mark R V Murray

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 556 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.freebsd.org/pipermail/freebsd-arch/attachments/20180526/173954ed/attachment.sig>


More information about the freebsd-arch mailing list