On 2010-12-16, Stefan Sonnenberg-Carstens <stefan.sonnenb...@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? -- http://mail.python.org/mailman/listinfo/python-list