Content deleted Content added
recat |
rearrange; mention modularity; section |
||
Line 1:
{{unreferenced}}
In [[computer science]], a '''module''' is a software entity that groups a set of (typically [[Cohesion|cohesive]]) [[subprogram]]s and [[data structure]]s. Modules are units that can be [[compiler|compiled]] separately, which makes them reusable and allows multiple programmers to work on different modules simultaneously. Modules also promote [[modularity (programming)|modularity]] and encapsulation (i.e. [[information hiding]]),
== Modules and classes ==
▲Differences between [[Class (computer science)|classes]] and modules are the following:
*Classes can be instantiated to create [[Object (computer science)|objects]],
Line 11:
*[[Polymorphism (computer science)|Polymorphism]] allows relationships between class instances to change at run-time, while relations between modules are static.
*Both can be used to hide abstraction from public view.
*Both can form a hierarchy of modules/classes.
==Module Interconnection Languages (MILs)==
|