[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #54736] Behavior of load() when a specified na
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #54736] Behavior of load() when a specified name keyword is missing |
Date: |
Thu, 27 Sep 2018 11:46:11 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.0 |
Update of bug #54736 (project octave):
Status: None => Wont Fix
Open/Closed: Open => Closed
_______________________________________________________
Follow-up Comment #1:
I understand that Octave is different in this regard, but I want to keep the
stricter checking.
Philosophically, I prefer that Octave signal to the programmer at the earliest
possible opportunity when something has gone wrong. This makes debugging
easier because the problem and the resulting error are located close
together.
Matlab's approach is often to return a silent null ([]) when things go wrong.
But this allows the script to continue and it may be quite a while before the
error is detected, or maybe never. Many scripts are run in batch mode and so
warning messages printed are never seen, whereas a hard error will be
detected.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?54736>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/