Module (programming): Difference between revisions

Content deleted Content added
Everyking (talk | contribs)
mNo edit summary
Line 1:
A '''module''' is a software entity that groups a set of (typically [[Cohesion|cohesive]]) [[subprogram]]s and [[data structure]]s. Modules promote encapsulation (i.e. [[information hiding]]) through a separation between the [[interface]] and the [[implementation]].
 
The module interface expresses the elements that are provided and required by the module. The elements defined in the interface are visible to other modules. The implementation contains the working code that corresponds to the elements delcareddeclared in the interface.
 
Modules are units that can be compiled separately. This makes them reusable and allows multiple actors to work on different modules simultaneously.