On 2005-04-21, Sergei Organov <[EMAIL PROTECTED]> wrote:
> Grant Edwards <[EMAIL PROTECTED]> writes:
>
>> On 2005-04-21, Sergei Organov <[EMAIL PROTECTED]> wrote:
>> 
>> > Well, I'm writing for embedded realtime systems in C/C++ and
>> > have never encountered a single need to use goto.
>> 
>> I have encountered situations in C programs where the best
>> thing to use was a goto.  Those situations have always been
>> handled beutifully by a "raise" in Python.
>
> setjmp/longjump?

I've always found setjmp/longjmp much more confusing and hard
to maintain than a simple goto.  It also requires library
support that goto doesn't.

-- 
Grant Edwards                   grante             Yow!  Your CHEEKS sit like
                                  at               twin NECTARINES above
                               visi.com            a MOUTH that knows no
                                                   BOUNDS --
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to