Path: csiph.com!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: Tim Rentsch
Newsgroups: comp.lang.c
Subject: Re: Effective uses of c `goto' statement
Date: Sun, 06 Dec 2020 05:46:47 -0800
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <867dpvkpx4.fsf@linuxsc.com>
References: <87czzszjhs.fsf@fedora.osfans.org> <87a6utro41.fsf@bsb.me.uk> <87tuszri2s.fsf@bsb.me.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: reader02.eternal-september.org; posting-host="048215ee9820886844dd3aade67dded3"; logging-data="31388"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+RnPhnAzIfqAiCi/rewGIW8itjtoBr2ig="
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux)
Cancel-Lock: sha1:9Rljtg8cHMelibZbNBPnZHgHIsg= sha1:l8qmn802XNmTGbksZyM6MDSjZGw=
Xref: csiph.com comp.lang.c:156974
Ben Bacarisse writes:
> Bart writes:
[...]
>> These will be simple bits of code that are not worth putting into
>> separate functions.
>
> What is your criterion for that? I've written functions as simple as
>
> double square(double x) { return x * x; }
>
> I like functions. A lot.
Ditto and double ditto.