octave-maintainers
[Top][All Lists]
Advanced

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

Re: goto vs. return?


From: LachlanA
Subject: Re: goto vs. return?
Date: Sun, 24 Jan 2016 01:18:37 -0800 (PST)

Rik,

I agree that goto is worse than return.  The goal of not using more than one
return was presumably so that the reader knew how the function would exit
(someone correct me if I'm wrong).  With exceptions, that is no longer the
case anyway.

$0.02,
Lachlan



--
View this message in context: 
http://octave.1599824.n4.nabble.com/goto-vs-return-tp4674494p4674496.html
Sent from the Octave - Maintainers mailing list archive at Nabble.com.



reply via email to

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