# Implicitly loaded modules in the future?

**URL:** <https://discourse.julialang.org/t/implicitly-loaded-modules-in-the-future/62646>\
**Category:** Internals & Design\
**Tags:** question, module, code-organization\
**Created:** [June 9, 2021, 8:58pm UTC](https://discourse.julialang.org/t/implicitly-loaded-modules-in-the-future/62646 "2021-06-09T20:58:00Z")\
**Posts on this page:** 1\
**Showing post:** 216

<div class="post-metadata">

**Author:** ![Roger-luo](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/roger-luo/32/3399_2.png) [@Roger-luo](https://discourse.julialang.org/u/Roger-luo)\
**Post date:** [June 21, 2021, 7:15pm UTC](https://discourse.julialang.org/t/implicitly-loaded-modules-in-the-future/62646/216 "2021-06-21T19:15:18Z")

</div>

also maybe read the discussion here first, I think the include twice problem has been mentioned quite a few times, and not just me thinking this should be done automatically

> [@\[ANN\] PatModules.jl: a better module system for Julia](https://discourse.julialang.org/t/ann-patmodules-jl-a-better-module-system-for-julia/52226):
>
> Hey folks. I’m new to Julia, and loving every aspect of it… except for ways of splitting code over multiple files and folders. There, I swiftly discovered that existing ways just don’t really seem to cut it. Julia primarily uses include(...) to get at code in other files, which [everyone with an opinion on language design seems to agree that you shouldn’t do](https://stackoverflow.com/questions/13570947/what-is-the-difference-between-import-and-include-choices-in-language-design). Fundamentally, you have to deal with issues of files being included multiple times. Solutions to this problem (only including files once;…

* * *

and for whoever is looking for an actual package suffering from the include twice problem, I’m afraid there is none. When a package gets registered one has already workaround this by either splitting things out into packages or doing it by hand, I still remember some package authors would left a comment in their top module file like `# do not change the include order`, but I cannot remember which package is this, maybe someone could remind me.

I mean again isn’t this simply a human brain burden? why are we doing something that can be done automatically?

---

_[View the full topic](https://discourse.julialang.org/t/implicitly-loaded-modules-in-the-future/62646)._
