Module (programming): Difference between revisions

Content deleted Content added
Added "Cohesion" link
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 delcared in the interface.