Date: Sat, 26 May 2018 13:50:10 +0100 From: Mark R V Murray <mark@grondar.org> To: Poul-Henning Kamp <phk@phk.freebsd.dk> Cc: arch@freebsd.org Subject: Re: To assert() or not to assert(), that is not really a question... Message-ID: <2144EF77-0A5C-4917-84A1-C86404D1BAB3@grondar.org> In-Reply-To: <4514.1527319154@critter.freebsd.dk> References: <4514.1527319154@critter.freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_7486C140-E5A2-43E3-9782-C406DA279BEE Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii > On 26 May 2018, at 08:19, Poul-Henning Kamp <phk@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 --Apple-Mail=_7486C140-E5A2-43E3-9782-C406DA279BEE Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.2 Comment: GPGTools - http://gpgtools.org iQEzBAEBCgAdFiEEyzPHvybPbOpU9MCxQlsJDh9CUqAFAlsJWAIACgkQQlsJDh9C UqBZ7gf/aAcmwBwpb4HShPDIB9KJiavhstybyQvZIk3+D4yTDL7fs1kDZcgsUWfk pY99yi9LwcqLBYg2k8M679Yy00zxGutDwbGhlQEeVP2JshawHkruys/qGKUcUY5d Y/x3VSKCx8UXKXqsEQ3nvo6g4FrfOcK3Az2iJ5wSz3bftOBRbSMXnsIqC77cT9Sz ysB4U/6+KRYPPBpz3jFVBxTHv6p7cQFTWCLIT+17sR5Sa3wKH0nwjKBSqNhJb+im Mlc0z9L3s2oO3jpzIXrPLezkLzF8jIYYPeb5qtFwhayn/Pw9pkmxIShjMV+0xot9 4K0ryw6z1Jr443jzXII7U/LMX/6uYQ== =PNqd -----END PGP SIGNATURE----- --Apple-Mail=_7486C140-E5A2-43E3-9782-C406DA279BEE--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2144EF77-0A5C-4917-84A1-C86404D1BAB3>