If/then style question
Grant Edwards
invalid at invalid.invalid
Fri Dec 17 12:26:08 EST 2010
On 2010-12-16, Stefan Sonnenberg-Carstens <stefan.sonnenberg at pythonmeister.com> wrote:
> The advantage in latter case is fewer operations, because you can
> skip the assignments, and it is more readable.
>
> The "one entry, one exit" is an advice. Not a law.
> Your code is OK.
>
> As long as it works ;-)
Even that last bit isn't that important.
Give me code that's easy-to-read and doesn't work rather code that
works and can't be read any day.
--
Grant Edwards grant.b.edwards Yow! What's the MATTER
at Sid? ... Is your BEVERAGE
gmail.com unsatisfactory?
More information about the Python-list
mailing list