Modules are units that can be compiled separately. This makes them reusable and allows multiple actors to work on different modules simultaneously.
Differences between [[Class_Class (computer_sciencecomputer science)|classes]] and modules are the following:
* Classes can be instantiated to create [[Object_Object (computer_sciencecomputer science)|objects]],
* Classes can [[Inheritance_Inheritance (object-oriented_programmingoriented programming)|inherit]] behavior and data from another class,
* [[Polymorphism_Polymorphism (computer_sciencecomputer science)|Polymorphism]] allows relationships between class instances to change at run-time, while relations between modules are static.
Similarities between [[Class_Class (computer_sciencecomputer science)|classes]] and modules are the following:
* Both can be used to hide abstraction from public view.
* Both can form a hierarchy of modules/classes.
Languages that explicitly support the module concept include [[Ada programming language|Ada]], [[D_programming_languageD programming language|D]], [[F programming language|F]], [[Fortran|Fortran]], [[Haskell_programming_languageHaskell programming language|Haskell]], [[ML_programming_languageML programming language|ML]], [[Modula-2]], and [[Python_programming_languagePython programming language|Python]].
== Module Interconnection Languages (MILs) == ▼
▲== Module Interconnection Languages (MILs) ==
'''Module Interconnection Languages (MILs)''' provide formal grammar constructs for deciding the various module interconnection specifications required to assemble a complete software system. MILs enable the separation between programming-in-the-small and programming-in-the-large. Coding a module represents programming in the small, while assembling a system with the help of a MIL represents programming in the large. An example of MIL is MIL-75.
== See also ==
* [[Wikibooks:Ada Programming/Packages]] - How modules are implemented in [[Ada programming language|Ada]]. ▼
▲* [[Wikibooks:Ada Programming/Packages]] - How modules are implemented in [[Ada programming language|Ada]].
▲== External links link==
* [http://modules.sourceforge.net/ Environment Modules]
[[Category:ProgrammingCode library]]
[[de:Modul (Software)]]
|