octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: goto vs. return?


From: Michael Godfrey
Subject: Re: goto vs. return?
Date: Sun, 24 Jan 2016 11:52:34 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0



On 01/24/2016 10:55 AM, Rik wrote:
The consensus seems to be that it is okay in C++ to use multiple returns.
Well, still introduces a possible source of misunderstanding. To be pragmatic, could say something like: avoid multiple returns if possible and show where and why
additional returns occur.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]