# How does the module system actually work?

**URL:** <https://discourse.julialang.org/t/how-does-the-module-system-actually-work/53548>\
**Category:** New to Julia\
**Tags:** question, package, first-steps\
**Created:** [January 18, 2021, 4:55pm UTC](https://discourse.julialang.org/t/how-does-the-module-system-actually-work/53548 "2021-01-18T16:55:40Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![MA\_Laforge](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ma_laforge/32/385_2.png) [@MA\_Laforge](https://discourse.julialang.org/u/MA_Laforge)\
**Post date:** [January 18, 2021, 5:20pm UTC](https://discourse.julialang.org/t/how-does-the-module-system-actually-work/53548/6 "2021-01-18T17:20:32Z")

</div>

Though missing a bit of explanation: @stillyslalom is correct when stating that Julia [packages] are typically just a single “module” (even if it might apply to “projects” that are not simultaneously “packages”). I say this because the terms you are used to might not have the same meaning in Julia.

The main reason why this is a correct statement is that a Julia “module” is actually what you would call a “namespace”. It does not represent a “software module”.

I have made a few additional posts that might help you:

> [@Proper way of organizing code into subpackages](https://discourse.julialang.org/t/proper-way-of-organizing-code-into-subpackages/52835/5):
>
> Understanding modules Here are a few threads you might want to read: [[ANN] PatModules.jl: a better module system for Julia - #57 by MA\_Laforge](https://discourse.julialang.org/t/ann-patmodules-jl-a-better-module-system-for-julia/52226/57) The post immediately below that one. [Defining multiple modules in a package](https://discourse.julialang.org/t/defining-multiple-modules-in-a-package/52702) (I provide explanations here too) [Dependencies of src files inside a package](https://discourse.julialang.org/t/dependencies-of-src-files-inside-a-package/43144) (and here) Multi-package repositories If you truly are going to write multi-package repositories, you might want to look at the following: [add subdir functionality by KristofferC · Pull Request …](https://github.com/JuliaLang/Pkg.jl/pull/1422)

(Though you might not want to read about “Multi-package repositories” at this time)

---

_[View the full topic](https://discourse.julialang.org/t/how-does-the-module-system-actually-work/53548)._
