for / while else doesn't make sense
rustompmody at gmail.com
Wed Jun 15 10:31:44 EDT 2016
On Wednesday, June 15, 2016 at 7:21:54 PM UTC+5:30, Random832 wrote:
> On Wed, Jun 15, 2016, at 07:19, Rustom Mody wrote:
> > I thought there'd be many examples for showing that break is just goto in
> > disguise... Evidently not
> > So here is an example in more detail for why/how break=goto:
> > http://blog.languager.org/2016/06/break-is-goto-in-disguise.html
> So are loops. So is any "if" statement whose body isn't itself a
> one-line goto. Showing that break can be written as a goto is
> uninteresting because _any_ form of flow control can be written as a
> goto, and in particular it does not establish that break is in any way
> less structured than any other constructs that have keywords.
Here is C.A.R Hoare's Turing award speech:
in which (2nd last page) he claims that Ada is a threat to civilization...
because it has something as terrible as exceptions.
We may or may not agree with his threatening thoughts
Which is different from seeing the simple fact that exceptions are unstructured
More information about the Python-list