Possibly better loop construct, also labels+goto important and on the fly compiler idea.

Mark Lawrence breamoreboy at yahoo.co.uk
Fri Oct 18 04:11:52 EDT 2013


On 18/10/2013 08:44, Chris Angelico wrote:
> On Fri, Oct 18, 2013 at 6:40 PM, Mark Lawrence <breamoreboy at yahoo.co.uk> wrote:
>> On 18/10/2013 00:53, Peter Cacioppi wrote:
>>>
>>> You know, I'd heard somewhere that Goto was considered harmful.... trying
>>> to remember exactly where....
>>>
>>
>> Yep, but it's used throughout the CPython code for error handling, nothing
>> wrong with that as it's crystal clear that you're going to one place for one
>> purpose.  Contrast that with its use in spaghetti code where you're leaping
>> around like a naked person on an ant hill.
>
> How bad can it be?
>
> http://xkcd.com/292/
>
> ChrisA
>

Love it :)

See also http://matplotlib.org/xkcd/index.html ???

-- 
Roses are red,
Violets are blue,
Most poems rhyme,
But this one doesn't.

Mark Lawrence




More information about the Python-list mailing list