'goto', as an indicator of good language

JN 666total at wp.pl
Fri Sep 9 09:30:21 UTC 2022


On Thursday, 8 September 2022 at 22:47:33 UTC, Walter Bright 
wrote:
> To be fair, nested functions along with function inlining has 
> eliminated many of the reasons that I use gotos.
>
> Another reason for gotos is for ways of exiting loops without 
> having to set flags that later control the flow.

I find it surprising that no language added something like "break 
all;" instruction to exit all loops.


More information about the Digitalmars-d mailing list