Modular Programming Overview

Jan 29
07:37

2015

Youssef Edward

Youssef Edward

  • Share this article on Facebook
  • Share this article on Twitter
  • Share this article on Linkedin

Modular programming is considered as a more dedicated approach to repair your program.Get a closer look at Modular Software programming below.

mediaimage

Software Programming is like complex mechanical parts. For example,Modular Programming Overview Articles if you look at car, you will find it consists of different parts, each one forms a module. If that parts fails, simply replace it without having to know about it and which is inside. The technician person knowing details about the motor cannot worry about to know details about other parts such as the sparking parts. In the same fashion, modular programming behave.

 

Some people design program parts they well know about and export this part in a known format (such as .dll). Other people use this part in their program without having to know about it. This is what forms modular programming. Other name for it ( the common name) is object oriented programming.  Each software part is treaated as object, hence the name.

 

C#,  Java, and C++ supports this type of programming. It is considered as an advanced topic in programming. Old languages don't support it. Following is some examples to get deeper insight in this concept.

C#  Visual Components : in Visula Studio, the appearance is in the form of windows. Each window contains buttons, textboxes, and other components that enable the user to interact with the program. Each of those components is considered as a part or object that is iundependent of each other. The developer has to place it and use it without worrying about what it contains inside. This is the basis for object oriented programming theory. Of course, advanced people can develop and modify it using programming tools, but in the common sense, it is not required.

 

As another example, let us say you have to write a program to calculate the incomes for employees in your company based on a set of many factors such as the days of attendance, the behaviour of employees, and other. This function itself after being writeen will behave as a module  that other programmers can use in their own programs.

 

As a good design paractice of programming is to depend on modular concept. The key advantage here is that if you want to modify specific function in the whole program, there is no need to destroy the netire work and then rebuild it again. All you need is to go to the module concerning the specific part that affects the performance and repair it. The overall function is improved by playing on a specific module that may by a very small software piece compared to the overall program.