More random python observations from a perl programmer
Magnus L. Hetland
mlh at idt.ntnu.no
Fri Sep 3 09:01:32 EDT 1999
"Rich Salz" <salzr at certco.com> writes:
> >No, I'm sorry, the expressivity of "break LABEL" and "continue LABEL"
> >are much clearer than the cicumlocutions necessary for exceptions.
>
> You sure? I wasn't aware that I could break and return a value, such as
> the name of the file that wasn't found. At least not without a lot of
> circuml^H^H^H^H^H global variables.
>
Acutally - in the line of considering labelled breaks expressive...
The most expressive construct in this venue would be GOTO, no? <wink>
--
Magnus Making no sound / Yet smouldering with passion
Lie The firefly is still sadder / Than the moaning insect
Hetland : Minamoto Shigeyuki
More information about the Python-list
mailing list