I don’t see why you would trust documentation more than the people that tend to write the documentation / package manager directly telling you something. If the docs suggest that modifying LOAD_PATH is a good workflow for everyday use, then they should be amended.
Maybe this is the core of the problem. This is not true. A julia package needs:
- A file called
Project.tomlwith a UUID and name entry. - A file
src/Package.jlfile that definesmodule Package ... end.
generate in Pkg creates this for you if you do generate Package.
Anyway, It is totally fine to use scripts (not packages) but then you tend to just include by path which doesn’t require modifying LOAD_PATH.