Deutsch   English   Français   Italiano  
<v5fhls$1ot2o$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Lawrence D'Oliveiro <ldo@nz.invalid>
Newsgroups: comp.lang.c
Subject: Re: Fixing a sample from K&R book using cake static analyser
Date: Tue, 25 Jun 2024 22:51:41 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 7
Message-ID: <v5fhls$1ot2o$1@dont-email.me>
References: <v53sl1$35qt7$1@dont-email.me> <v558hv$3dskb$1@dont-email.me>
	<20240623034624.135@kylheku.com> <87wmmfq4if.fsf@bsb.me.uk>
	<20240624012527.8bbe16b96f5bfca10feadb5c@gmail.moc>
	<87zfrbnsvv.fsf@bsb.me.uk> <874j9h8l3d.fsf@fatphil.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 26 Jun 2024 00:51:41 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="d3e70b79bcb23d33c66caba9f2139d60";
	logging-data="1864792"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+ARrbYYarSi2xmYp1r4XIG"
User-Agent: Pan/0.158 (Avdiivka; )
Cancel-Lock: sha1:rWr2+mxhw4tCOo+Xk9CQeYSQiF4=
Bytes: 1412

On Tue, 25 Jun 2024 11:47:50 +0300, Phil Carmody wrote:

> In all honesty, I'd probably actually code with gotos, and jump to
> whichever bit of cleanup was relevant.

Complicating the control flow, especially for cleanup paths which are 
harder to test, is asking for trouble.