It is known as module (from Latin modulus) to a structure or block of parts that, in a construction, are located in quantity in order to make it simpler, regular and economical. Every module, therefore, is part of a system and is usually connected in some way with the rest of the components.
What is considered as modular is easy to assemble and usually offers ample flexibility (not in its components, but in the way of armed). On the other hand, the Final product The system can retain its appearance without suffering consequences by simply repairing the module or component that does not work. It is known as modularity to the ability of a system to be understood as the union of several elements that are linked to each other and that are solidary (each one fulfills a task in pursuit of a common objective).
The architecture, on the other hand, presents as a module that measure that is used to calculate the proportions of the architectural bodies. It is that, in general, it is known as a module to the dimension that is conventionally taken as unit of measurement .
For the geometry , instead, a module is the extension of the segment that delimits a vector. The math Likewise, it indicates that the module constitutes the absolute value of a certain measure or it allows to describe the quantity that is used in certain calculations to make comparisons.
In the field of physical, a module is an equipment that is used to regulate the amount of water that runs through a channel or that circulates inside a pipe or hole. The numismatics known as a module to the diameter of the coins or medals.
In the music, the module is the act and consequence of modulating, that is, of moving from one tone to another. These transitions can be smooth and easy to anticipate, in simple pieces to read and interpret, or abrupt, unexpected, and even very frequent, which requires a very trained ear to understand and execute them with good taste and musicality.
Computer programmers are accustomed to solving problems and, since they can present varying degrees of complexity, in the most difficult cases, the best way is the programming modular (The term module, in this context, is reminiscent of the time of the Pascal language and is generally not used in current jargon). The most obvious advantage of this way of working is that you get a series of procedures or functions capable of assuming a great diversity of tasks, some smaller than others, and that help to organize the code of a program.
When structuring the code In any type of program it is essential to recognize those sequences that will be used more than once, to avoid unnecessary repetition of lines. Grouping those tasks that will be frequently performed in functions not only offers the immediate benefit of making the code more neat and readable, but considerably reduces the size of an application.
Modular programming is based on the principle of break down a problem into smaller ones to solve them one by one until reaching the final objective. In computer terms, we would say that a program is divided into a series of subprograms, which in this case are the modules. As in other fields, if one of the modules exhibits some unexpected behavior, it is easy to detect and work on it without affecting the rest. In addition, large companies usually assign the same project to dozens of programmers, which in many cases exceed 100, and the distribution of work, in addition to modular design, is the smartest way to address the developing.