Skip to content
Prev 140175 / 398506 Next

How to assign multiple return values

On 24/03/2008 5:09 AM, Tribo Laboy wrote:
I don't think so.
Where did you see that? It would be good advice if it said not to hide 
many calls to return() deep within a long function.  I'd be neutral 
about it if it said not to bother with return() in a very short 
function.  In intermediate cases, I think using return() is good practice.

Duncan Murdoch