Coding style and else statements
Pete Forman
pete.forman at westerngeco.com
Thu Aug 31 05:23:22 EDT 2006
Ben Finney <bignose+hates-spam at benfinney.id.au> writes:
> Why not ensure that there is one return point from the function, so
> the reader doesn't have to remind themselves to look for hidden
> return points?
There will always be more potential return points in languages that
support exceptions.
--
Pete Forman -./\.- Disclaimer: This post is originated
WesternGeco -./\.- by myself and does not represent
pete.forman at westerngeco.com -./\.- the opinion of Schlumberger or
http://petef.port5.com -./\.- WesternGeco.
More information about the Python-list
mailing list