I'm struggling to get a good workflow going in 0.4. The docs 
<http://docs.julialang.org/en/release-0.4/manual/modules/> tell me what I 
can do, but not so much what I should. How does everybody work? What does 
your "startup code" look like? In particular:

1. Should I `push!(LOAD_PATH, ".")`, or should I include every file 
manually? I don't know why this behavior was removed in 0.4...

2. Inside my modules, should I `include("blah.jl")` then `using blah`?

3. How does everyone reload modules when working interactively? Do you have 
a big block that goes
workspace()
reload("Blag")
using LastMain.Other_Module
and you just run it every time you change something in Blag? I don't 
understand workspace()'s purpose. Wiping all variables (even if saved 
elsewhere) is awfully drastic for interactive work.

4. Has anybody succeeded in getting Autoreload.jl to work? If I 
`arequire("Blag")` I get warnings that require is deprecated, and it 
sorta-kinda works, but if I add dependencies `arequire("Blag", 
depends_on=["OtherModule"])` then it seems to get in a bad state where 
nothing gets reloaded at all.

Thank you,

Cédric

Reply via email to