From owner-freebsd-arch@freebsd.org Sat May 26 12:50:15 2018 Return-Path: Delivered-To: freebsd-arch@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 606E0F74E55 for ; Sat, 26 May 2018 12:50:15 +0000 (UTC) (envelope-from mark@grondar.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id E34D86EA35 for ; Sat, 26 May 2018 12:50:14 +0000 (UTC) (envelope-from mark@grondar.org) Received: by mailman.ysv.freebsd.org (Postfix) id A104AF74E54; Sat, 26 May 2018 12:50:14 +0000 (UTC) Delivered-To: arch@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8F456F74E53 for ; Sat, 26 May 2018 12:50:14 +0000 (UTC) (envelope-from mark@grondar.org) Received: from gromit.grondar.org (grandfather.grondar.org [IPv6:2a01:348:0:15:5d59:5c20:0:2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2E13C6EA34 for ; Sat, 26 May 2018 12:50:14 +0000 (UTC) (envelope-from mark@grondar.org) Received: from graveyard.grondar.org ([88.96.155.33] helo=gronkulator.grondar.org) by gromit.grondar.org with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91 (FreeBSD)) (envelope-from ) id 1fMYeC-000GNI-0z; Sat, 26 May 2018 13:50:12 +0100 Content-Type: multipart/signed; boundary="Apple-Mail=_7486C140-E5A2-43E3-9782-C406DA279BEE"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 11.3 \(3445.6.18\)) Subject: Re: To assert() or not to assert(), that is not really a question... From: Mark R V Murray In-Reply-To: <4514.1527319154@critter.freebsd.dk> Date: Sat, 26 May 2018 13:50:10 +0100 Cc: arch@freebsd.org Message-Id: <2144EF77-0A5C-4917-84A1-C86404D1BAB3@grondar.org> References: <4514.1527319154@critter.freebsd.dk> To: Poul-Henning Kamp X-Mailer: Apple Mail (2.3445.6.18) X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 May 2018 12:50:15 -0000 --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 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--