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


Groups > comp.lang.python > #49250 > unrolled thread

Re: Is this PEP-able? fwhile

Started byFábio Santos <fabiosantosart@gmail.com>
First post2013-06-26 12:49 +0100
Last post2013-06-26 12:49 +0100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Is this PEP-able? fwhile Fábio Santos <fabiosantosart@gmail.com> - 2013-06-26 12:49 +0100

#49250 — Re: Is this PEP-able? fwhile

FromFábio Santos <fabiosantosart@gmail.com>
Date2013-06-26 12:49 +0100
SubjectRe: Is this PEP-able? fwhile
Message-ID<mailman.3889.1372247399.3114.python-list@python.org>

[Multipart message — attachments visible in raw view] — view raw

On 26 Jun 2013 11:45, <jimjhb@aol.com> wrote:
>
> On Tuesday, June 25, 2013 9:30:54 PM UTC+5:30, Ian wrote:
> > In my experience the sorts of people who preach "one exit point" are
> > also all about defining preconditions and postconditions and proving
> > that the postconditions follow from the preconditions.  I think that
> > the two are linked, because the "one exit point" rule makes those
> > sorts of proofs simpler.
>
> Ah! utopia!
>
> For every one who knows about pre/post/invariant conditions, there are 10
who follow goto-statement-is-harmful like a religious edict.
>
>
>
> I just checked and MISRA-C 2012 now allows gotos in specific, limited
circumstances.  I think it was the MISRA-C 1998 standard that caused all
this trouble.  So if MISRA now allows goto, why not Python????  :)
>

What is the matter? Just use the goto module...

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web