---
title: "Discussion on \"Modules & Organization\" | Hashnode"
description: "Discussion on \"Modules & Organization\". Rust's modules are similar to JS/TS files and folders, but with much more explicit control over visibility.\n\nABSTRACT: 🧩 Analogy for Frontend Developers\n\nmod is like a file or folder: It defines a boundary of code.\npub is like export: It makes an it..."
url: "https://hashnode.com/posts/modules-organization/69d4dfe517f859d321cffb6e"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Modules & Organization](https://yafi.hashnode.dev/modules-organization?utm_source=hashnode&utm_medium=feed)

Rust's modules are similar to JS/TS files and folders, but with much more explicit control over visibility. ABSTRACT: 🧩 Analogy for Frontend Developers mod is like a file or folder: It defines a boundary of code. pub is like export: It makes an it...

Apr 7 · 2 min read · yafi.hashnode.dev  
Read the article

-   [#rust](https://hashnode.com/tag/rust)
-   [#modules](https://hashnode.com/tag/modules)
-   [#organization](https://hashnode.com/tag/organization)
-   [#imports](https://hashnode.com/tag/imports)
-   [#exports](https://hashnode.com/tag/exports)

## Written by

[Muhammad Yafi Alhakim](https://hashnode.com/@yafialhakim)

@yafialhakim · Jakarta, Indonesia

  
[View profile](https://hashnode.com/@yafialhakim)

Frontend Engineer @MySkill.id

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
