Module

Noun · Development

Definitions

  1. A self-contained unit of code — typically a file or package — that encapsulates related functionality and exposes a defined interface for other parts of the program to use.

    In plain English: A separate file or package of code that handles one specific job and can be imported wherever it's needed.

    Example: "Break it into modules. A 5,000-line file is not a module, it's a cry for help."

Related Terms