Glossary coding Term Page

Module

A code boundary that splits features by file and exposes only what should be reused

module #python#javascript#architecture
Korean version

Aliases

import/export unit

Prerequisites

Related Concepts

Core Idea

A module groups related functions, constants, and types into a file or package boundary. Instead of growing one giant script, you split responsibilities into smaller pieces that are easier to test, reuse, and maintain.

The key question is what a module should expose and what it should keep internal. Once that boundary is clear, decisions about where functions live, how UI pieces connect, and how imports should flow become much easier.

Why It Matters Here

Mathbong uses modules as the shared idea behind Python file reuse, JavaScript ES modules, and frontend project structure. It is one of the first concepts that turns beginner exercises into maintainable projects.

Posts Mentioning This Concept