Hi Kevin:

As a convert from Matlab, the first thing I asked for when shopping around for 
an alternative language for scientific computing was "what's the command I use 
to run a file, top to bottom". 
>From my view, this is a important command to have front and center. I would 
>want to avoid forcing newbies to use "require"... for example just by looking 
>at the help documentation I knew there would be some spurious behavior I 
>didn't understand...

julia> ?require
Loading help data...
Base.require(file::String...)

   Load source files once, in the context of the "Main" module, on
   every active node, searching the system-wide "LOAD_PATH" for
   files. "require" is considered a top-level operation, so it sets
   the current "include" path but does not use it to search for
   files (see help for "include"). This function is typically used
   to load library code, and is implicitly called by "using" to load
   packages.



Just my two cents.
Cheers,
Ethan

Reply via email to