Deutsch   English   Français   Italiano  
<vhqr3t$1b2t7$7@dont-email.me>

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

Path: ...!eternal-september.org!feeder2.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Lawrence D'Oliveiro <ldo@nz.invalid>
Newsgroups: comp.os.linux.misc
Subject: Re: Joy of this, Joy of that
Date: Fri, 22 Nov 2024 20:55:25 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 12
Message-ID: <vhqr3t$1b2t7$7@dont-email.me>
References: <vhigot$1uakf$1@dont-email.me>
	<6iKdnTQOKNh6AqD6nZ2dnZfqn_idnZ2d@earthlink.com>
	<20241120081039.00006d2a@gmail.com> <vhlium$93kn$1@dont-email.me>
	<vhmprp$iaf1$1@dont-email.me> <lq9h4kF2tegU1@mid.individual.net>
	<vhpmo6$14s79$1@dont-email.me> <wwva5drk0m1.fsf@LkoBDZeT.terraraq.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 22 Nov 2024 21:55:26 +0100 (CET)
Injection-Info: dont-email.me; posting-host="d0640d653b3828f8761808e02c741927";
	logging-data="1412007"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/2BQVSnaaTZVlWL0gRLqnS"
User-Agent: Pan/0.161 (Chasiv Yar; )
Cancel-Lock: sha1:GR90SrzDhjKRccFCak+sHIVhGsk=
Bytes: 1685

On Fri, 22 Nov 2024 10:45:58 +0000, Richard Kettlewell wrote:

> More recent languages have other options (‘defer’, ‘finally’,
> destructors, etc).

And then there are “continuations”. You find these in Scheme, not so much 
in other languages. They are a generalized control construct. They can be 
used to implement looping-with-multiple-exits, exceptions and coroutines, 
but not (easily) for arbitrary gotos.

In other words, you can consider them to be a generalized *structured* 
control construct.