GOTO w/ Python?

Daniel Fackrell dfackrell at DELETETHIS.linuxmail.org
Tue Jun 25 10:38:52 EDT 2002


"Delaney, Timothy" <tdelaney at avaya.com> wrote in message
news:mailman.1024964672.10880.python-list at python.org...
> > From: Daniel Fackrell [mailto:dfackrell at DELETETHIS.linuxmail.org]
> >
> > After skimming the linked page to get a feel for the CAME
> > FROM statement, is
> > it conceptually different from short procedures?  Does the
> > only difference
> > lie in the fact that for compiled languages one of the
> > instances will be
> > inline?  I do understand that it would have some effect on
> > variable scoping,
> > but this can be easily handled in other ways.
> >
> > So what's the benefit that might outweigh the opacity of the
> > code created?
>
> I hope you're not serious ... :)
>
> COME FROM is a joke. Literally. It is a parody of GOTO whose only
redeeming
> feature is that it is not GOTO.
>
> Tim Delaney

*WHOOSH*

I missed that one completely.  Maybe I'm trying too hard.

I was actually trying to figure out any possible reason that one would want
to use such a construct.  I got thinking about compiler-level optimizations,
but the overhead involved would outweigh any possible savings in time or
compiled code size in almost all cases.

Thanks for straightening me out.

--
Daniel Fackrell (dfackrell at linuxmail.org)
When we attempt the impossible, we can experience true growth.





More information about the Python-list mailing list