Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #49217

Re: Is this PEP-able? fwhile

Path csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.057
X-Spam-Evidence '*H*': 0.91; '*S*': 0.02; 'subject:PEP': 0.07; 'exit': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; "'break'": 0.16; '(note:': 0.16; '>on': 0.16; 'iteration': 0.16; 'message- id:@4ax.com': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'language': 0.16; 'wrote:': 0.18; 'url:home': 0.24; 'mon,': 0.24; 'possibly': 0.26; 'header:X -Complaints-To:1': 0.27; 'chris': 0.29; 'am,': 0.29; '25,': 0.31; 'continues': 0.31; 'languages': 0.32; 'earth': 0.36; 'next': 0.36; 'charset:us-ascii': 0.36; 'should': 0.36; 'being': 0.38; 'received:76': 0.38; 'to:addr:python-list': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'subject:? ': 0.60; 'break': 0.61; 'granted': 0.65; 'capable': 0.67; 'subject:this': 0.83; 'goto': 0.84; 'redirecting': 0.84; 'rusi': 0.91; 'whereas': 0.91; 'why?': 0.91; 'taught': 0.96; '2013': 0.98
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Dennis Lee Bieber <wlfraed@ix.netcom.com>
Subject Re: Is this PEP-able? fwhile
Date Tue, 25 Jun 2013 20:40:22 -0400
Organization IISS Elusive Unicorn
References <8D03F2B8CF0E7BE-1864-1796B@webmail-m103.sysops.aol.com> <mailman.3773.1372110329.3114.python-list@python.org> <8f813b85-9a4e-4612-82b1-dd58f9bfd497@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host adsl-76-249-27-81.dsl.klmzmi.sbcglobal.net
X-Newsreader Forte Agent 6.00/32.1186
X-No-Archive YES
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.3867.1372207232.3114.python-list@python.org> (permalink)
Lines 25
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1372207232 news.xs4all.nl 15984 [2001:888:2000:d::a6]:44271
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:49217

Show key headers only | View raw


On Mon, 24 Jun 2013 19:01:11 -0700 (PDT), rusi <rustompmody@gmail.com>
declaimed the following:

>On Tuesday, June 25, 2013 3:08:57 AM UTC+5:30, Chris Angelico wrote:
>> On Tue, Jun 25, 2013 at 5:52 AM,  <> wrote:
>> 
>> > (NOTE:  Many people are being taught to avoid 'break' and 'continue' at all
>> > costs...
>> 
>> Why? Why on earth should break/continue be avoided?
>
>Because breaks and continues are just goto-in-disguise?
>
	Because GOTO is a wild-card, capable of redirecting to anywhere;
whereas break can only go to the exit of the loop (and in languages with
labeled loops, possibly the exit of an outermost loop -- cf: Ada), and
continue can only go to the next iteration of the loop (hmmm, does any
language have a continue that can go to the next iteration of an outer
loop?)

	Granted -- allowing /multiple/ break/continue begins to look ugly.
-- 
	Wulfraed                 Dennis Lee Bieber         AF6VN
    wlfraed@ix.netcom.com    HTTP://wlfraed.home.netcom.com/

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: Is this PEP-able? fwhile Chris Angelico <rosuav@gmail.com> - 2013-06-25 07:38 +1000
  Re: Is this PEP-able? fwhile rusi <rustompmody@gmail.com> - 2013-06-24 19:01 -0700
    Re: Is this PEP-able? fwhile Chris Angelico <rosuav@gmail.com> - 2013-06-25 13:54 +1000
    Re: Is this PEP-able? fwhile Benjamin Kaplan <benjamin.kaplan@case.edu> - 2013-06-24 21:20 -0700
    Re: Is this PEP-able? fwhile Chris Angelico <rosuav@gmail.com> - 2013-06-25 17:21 +1000
    Re: Is this PEP-able? fwhile Ian Kelly <ian.g.kelly@gmail.com> - 2013-06-25 10:00 -0600
      Re: Is this PEP-able? fwhile rusi <rustompmody@gmail.com> - 2013-06-25 09:19 -0700
        Re: Is this PEP-able? fwhile Neil Cerutti <neilc@norwich.edu> - 2013-06-26 13:09 +0000
    Re: Is this PEP-able? fwhile Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-06-25 20:40 -0400
      Re: Is this PEP-able? fwhile jfharden@gmail.com - 2013-06-26 03:00 -0700
      Re: Is this PEP-able? fwhile Jerry Peters <jerry@example.invalid> - 2013-06-26 19:56 +0000

csiph-web