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

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

[Octave-bug-tracker] [bug #57403] pkg.m loads packages before their depe


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #57403] pkg.m loads packages before their dependencies
Date: Sat, 14 Dec 2019 06:34:34 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0

Follow-up Comment #4, bug #57403 (project octave):

You are right. The calls to reverse in lines 2559 and 2568 are there to allow
adding the paths one by one (from right to left) to the front of the load path
such that they do NOT appear in reverse order after they are added.
But probably that is just two different ways of thinking about the same
thing.
I believe Octave behaves Matlab compatible in this respect and also follows
the principle of least surprise (at least for me). In the end, why should the
order of precedence of the given paths be different dependent on whether they
are added to the front or the back of the load path?
Also the sentence you proposed doesn't seem to be right if the paths are added
to the end of the load path.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?57403>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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