You are on page 1of 1

Definition: Modular programming: A programming style that breaks down program functions into modules, each of which accomplishes

one function and contains all the source code and variables needed to accomplish that function. Modular programming is a solution to the problem of very large programs that are difficult to debug and maintain. By segmenting the program into modules that perform clearly defined functions, you can determine the source of program erros more easly. Object-orientated programming languages, such as SmallTalk and HyperTalk, incorporate modular programming principles. Definition: Modular programming is subdividing your program into separate subprograms such as functions and subroutines. (1) In software, a module is a part of a program. Programs are composed of one or more independently developed modules that are not combined until the program is linked. A single module can contain one or several routines. (2) In hardware, a module is a self-contained component. A module can be defined variously, but generally must be a component of a larger system, and operate within that system independently from the operations of the other components

Modularity is the property of computer programs that measures the extent to which they have been composed out of separate parts called modules. Programs that have many direct interrelationships between any two random parts of the program code are less modular than programs where those relationships occur mainly at welldefined interfaces between modules.

Modular programming techniques are those which increase modularity. (See also: structured programming, procedural programming, object-oriented programming and aspect-oriented programming, distributed computing Modules have a one-to-one correspondence with source files. The module name is the file name with the path and extension stripped off.

You might also like