Re: Is this PEP-able? fwhile

On Mon, Jun 24, 2013 at 4:35 PM, Chris Angelico <> wrote:
> On Tue, Jun 25, 2013 at 8:30 AM, Tim Chase
> <> wrote:
>> On 2013-06-25 07:38, Chris Angelico wrote:
>>> Python has no issues with breaking out of loops, and even has
>>> syntax specifically to complement it (the 'else:' clause). Use
>>> break/continue when appropriate.
>>
>> from minor_gripes import breaking_out_of_nested_loops_to_top_level
>
> True. There are times I do wish for a 'goto'. But if goto were
> implemented, I would also use it for jumping _into_ loops, and I'm not
> sure that's going to make the feature popular

You can have labeled break and continue without going all the way to a
goto statement.

Share This Page

Welcome to The Coding Forums!

Welcome to the Coding Forums, the place to chat about anything related to programming and coding languages.

Please join our friendly community by clicking the button below - it only takes a few seconds and is totally free. You'll be able to ask questions about coding or chat with the community and help others.
Sign up now!