When working on a project (not a package, not intention of re-use), I started usin

Update from slack:

  1. If you want to enable precompilation of your functions, use a module. However as this is a project that is not designed for re-import into another body of work, this is not an added benefit of modules in this context.
  2. You can use
for n in names(@__MODULE__; all=true)
    if Base.isidentifier(n) && n ∉ (Symbol(@__MODULE__), :eval, :include)
        @eval export $n
    end
end

at the end of your module to automatically export all Symbols.

However this has no added benefit that just working with includet doesn’t provide, at least for my use case.

So I think it is best to keep includet for now. My final concern is that I don’t know if includet is as feature rich as using Revise with a module.

If anyone has examples of edge cases in which using Revise with a module works but includet has some problems, I would appreciate hearing them.

4 Likes