GoTo considered missing

Cliff Wells logiplexsoftware at earthlink.net
Wed Jul 3 14:19:19 EDT 2002


On 03 Jul 2002 18:09:14 GMT
Robb Shecter wrote:

> David LeBlanc wrote:
> >...if you're writing python
> > code that uses nested loops like that, it's possible you're not taking good
> > advantage of Python's features. Care to share what you're working on?...
> 
> I'd like to know too.  I can't really think of an example where I'd need 
> a goto statement.

Not in a program written from scratch, but the OP apparently is trying to port
a C program line-for-line to Python (not the best approach, IMHO).  

Then again, I've never used a goto in C either...

-- 
Cliff Wells, Software Engineer
Logiplex Corporation (www.logiplex.net)
(503) 978-6726 x308  (800) 735-0555 x308





More information about the Python-list mailing list