[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: ‘continue’ keyword
- From: Andrea <andrea.l.vitali@...>
- Date: Thu, 12 May 2022 11:42:32 -0700
Can you elaborate more on the conflict between "continue" and the lexical scoping?
I understand lexical scoping but I am not able to understand the interaction.
I am not an expert in computer science.
Also I know that theoretically this can achieved using ‘goto’ but I don’t like that approach.
that was exactly the reason why there's `goto`. a usable continue keyword has some ugly interactions with true lexical scoping, so ironically the `goto` is the cleaner way.