Modular programming: Difference between revisions

Content deleted Content added
hey, a place to use program
need more words to get the essence: a module provides an aspect of a program; completely and not other aspects
Line 1:
{{Short description|Software design technique}}
{{More citations needed|date=June 2022}}
'''Modular programming''' is a [[software development]] mindset that emphasizes separating the [[function (programming)|functions]] of a [[codebase]] into independent modules, such that each containsprovides everything needed to perform only onean [[Separation of concerns|aspect]] of a [[computer program]] in its entirety without providing other aspects.
 
A module [[Interface (computing)|interface]] expresses the elements that are provided and required by the module. The elements defined in the interface are detectable by other modules. The [[implementation]] contains the working code that corresponds to the elements declared in the interface. Modular programming is closely related to [[structured programming]] and [[object-oriented programming]], all having the same goal of facilitating construction of large software programs and systems by [[Decomposition (computer science)|decomposition]] into smaller pieces, and all originating around the 1960s. While the historic use of these terms has been inconsistent, ''modular programming'' now refers to the [[High-level programming language|high-level]] decomposition of the code of a whole program into pieces: ''structured programming'' to the [[Low-level programming language|low-level]] code use of structured [[control flow]], and ''object-oriented programming'' to the ''data'' use of [[Object (computer science)|objects]], a kind of [[data structure]].