Sujet : Re: Opinions on `defer`?
De : tr.17687 (at) *nospam* z991.linuxsc.com (Tim Rentsch)
Groupes : comp.lang.cDate : 08. Jan 2025, 20:30:24
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <86sept85nz.fsf@linuxsc.com>
References : 1
User-Agent : Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux)
Alexis <
flexibeast@gmail.com> writes:
Hi all,
>
"Modern C" author Jens Gustedt has been posting on his blog about a
proposed `defer` feature (as provided by e.g. Zig and Go), the most
recent being:
>
https://gustedt.wordpress.com/2025/01/06/simple-defer-ready-to-use/
>
What do people here think about having such a feature in C?
The issue being addressed is one well worth addressing.
The proposed solution ('defer') is awful. If this feature is
being considered for the C standard it should be rejected
out of hand.