User Tools

Site Tools


This is an old revision of the document!



A module is a piece of code that carries a name and is syntactically distinguished from other parts of the code.


Several principles deal with the decomposition and interaction of classes, methods, procedures, functions, etc. In order to abstract from the concrete syntactic element—be it a class, a method, a procedure, a function, an executable or the like—the term “module” is used.

Other Definitions

  • In the context of modular programming “module” refers to the concept of a specific part of a system encapsulating a certain piece of functionality.
  • In some programming languages “module” may refer to a certain language feature .more or less linked to modular programming.
  • In the context of testing, “module” may refer to the smallest separately testable piece of code.

See Also

Further Reading

glossary/module.1369256731.txt.gz · Last modified: 2013-05-22 23:05 by christian