Too many return-statements = bad style?
Steve Lamb
grey at despair.dmiyu.org
Wed Jul 14 19:22:09 EDT 2004
On 2004-07-14, Michael Geary <Mike at Geary.com> wrote:
> The Ruby code always closes the file when the code block (the loop body)
> exits, even if the code block raises an exception. So, the Ruby code:
Kinda breaks that whole explicit is better than implicit rule, don't it.
What happens if I don't want the file closed at the end of the loop? I'm
guessing I have to start fighting with the language.
--
Steve C. Lamb | I'm your priest, I'm your shrink, I'm your
PGP Key: 8B6E99C5 | main connection to the switchboard of souls.
-------------------------------+---------------------------------------------
More information about the Python-list
mailing list