goto statement

Sergei Organov osv at javad.ru
Thu Apr 21 07:48:47 EDT 2005


Maxim Kasimov <kasimov at i.com.ua> writes:

> 1. comment for debug
> 
>     It can be used in the same way, as the comments for debugging are
>     used, but it will be easier than to use """ or ''', or using
>     features of text-editors, when it is necessary to comment piece of
>     code which already contains ''' or/and """ strings already, or
>     there is another #-comments. Using goto, you do not need to edit a
>     code, which is unfamiliar to you.

... and then you end up with situation when another goto jumps directly
into the body of the code you've just "commented" with your goto. Happy
debugging!

BTW, don't you want "comefrom" statement to be added to the language
to make debugging even more fun?

-- 
Sergei.



More information about the Python-list mailing list