What is modular?
Modular is where you divide a system/ program into smaller sections called modules, these can be created individually then implemented into different systems/ programs.
Modular elements are important for procedural programming because it is a design style where a program is split up into smaller sections allowing each module can be designed by a individual, therefore making the design of the system easier. Using modular elements allow the program to be a lot simpler and not complex therefore you can use each module in different programs and they are easy to debug due to them only being small in comparison to a long complex program. For example the code to the left is split into a modular, this is to make the program a lot easier to understand. When a program is split into different modules, maintaining the program is easier than when it is a long complex program.
No comments:
Post a Comment