Julia has 3 levels of "Places where you can put the code"
include 'd- Submodules
- packages that for our purposes have exactly 1 (non-sub) module.
I use a big fan of submodules, given that I came from python.
.
, , , , .
.
include s.
Python , - " , ".
- julia - , ( )
, . , ? ( )
, , :
, :
- module A
- module B (i.e A.B)
- type C
, using A.B
using B, B, , B.jl LOAD_PATH.
, C.
using A.B, A.B.C, B.C().
using B, B.C() B.C.
, ( using) A.B.C.
.
reload("A.B") .
( reload )
Base julia-, , . .
, ,
, , .
, .