Sujet : Re: Fixing a sample from K&R book using cake static analyser
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.lang.cDate : 25. Jun 2024, 23:51:41
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v5fhls$1ot2o$1@dont-email.me>
References : 1 2 3 4 5 6 7
User-Agent : Pan/0.158 (Avdiivka; )
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.