Deutsch   English   Français   Italiano  
<ufs38r$2g3ok$1@dont-email.me>

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

Path: ...!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: "J-P. Rosen" <rosen@adalog.fr>
Newsgroups: fr.comp.lang.ada
Subject: Re: To except or not to except ?
Date: Sat, 7 Oct 2023 19:07:40 +0200
Organization: Adalog
Lines: 18
Message-ID: <ufs38r$2g3ok$1@dont-email.me>
References: <ue14pj$kj$1@shakotay.alphanet.ch> <ue16dc$35qrj$1@dont-email.me>
 <65057626$0$8253$426a74cc@news.free.fr> <ufr3i3$28d89$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 7 Oct 2023 17:07:39 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="8b2f03012152fb6e6aadd8425e265dec";
	logging-data="2625300"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18m2oScGBaFvxpgGnL4fR0I"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
 Thunderbird/102.15.1
Cancel-Lock: sha1:ro+tYYFYtlKz2EYSHRZZl1n3coU=
In-Reply-To: <ufr3i3$28d89$2@dont-email.me>
Content-Language: en-US, fr
Bytes: 1639

Le 07/10/2023 à 10:06, Stéphane Rivière a écrit :
> Une exception est un goto déguisé

Mais toutes les structures de contrôle (if, case, loop) sont des goto 
déguisés... On peut même dire que le but des structures, c'est de 
déguiser des goto.

Avec un avantage en plus: la structure dit /pourquoi/ on se débranche. 
Le goto est muet sur ce point.

(sorry, couldn't resist :-) )

-- 
J-P. Rosen
Adalog
2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX
https://www.adalog.fr https://www.adacontrol.fr