octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #52016] conversion to short circuit in if, whi


From: Rik
Subject: [Octave-bug-tracker] [bug #52016] conversion to short circuit in if, while but not in until
Date: Thu, 14 Sep 2017 11:54:17 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

Update of bug #52016 (project octave):

                  Status:                    None => Confirmed              

    _______________________________________________________

Follow-up Comment #2:

Sholdn't the short-circuit warning be extended to cover the 'until' condition?
 If a programmer is migrating from Matlab to Octave they may decide to use
do/until loops, but with the assumption that the condition works the same as a
while loop.

In other words, I don't think we should have different behaviors based on
keyword used for the looping structure.  It becomes a difficulty to remember
which loop does which thing.  Instead, they should all behave similarly,
although Octave gives you more choices.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?52016>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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