A self-contained unit of code that encapsulates related functions, classes, and variables, designed to be reused across different parts of a program or in other programs. Modules promote code organization, reusability, and maintainability.
From Latin 'modulus' meaning small measure or standard unit. Architecture used the term to describe standardized building components. Computing adopted it in the 1960s to describe standardized code units that could be combined to build larger programs, maintaining the concept of interchangeable standardized parts.
Try Another Word