octave-maintainers
[Top][All Lists]
Advanced

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

[pkg.m] Load order of dependencies


From: JuanPi
Subject: [pkg.m] Load order of dependencies
Date: Mon, 9 Dec 2019 03:01:29 +0100

Hi all,

Is there any reason to make pkg.m load first the package and then the
dependencies?

Taking the development version of geometry as an example:

> pkg load geometry
GEOMETRY
matgeom loaded 0
MATGEOM
geometry loaded 1

For me it would make only sense that at the time the package folder is
added to the path the dependencies are already loaded.

This would simplify enormously checking for functionality in the
dependencies and manipulating the loadpath at loading time.

Also, if we allow packages to shadow octave functions, then packages
should also be allowed to shadow other dependencies functions, that is
the package must load at the end of all dependencies.

Thank you for your answer

-- 
JuanPi Carbajal
https://goo.gl/ayiJzi

-----
“An article about computational result is advertising, not
scholarship. The actual scholarship is the full software environment,
code and data, that produced  the  result.”
- Buckheit and Donoho



reply via email to

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