What are the benefits of creating a modular design for a large computer program?
First two reasons I can think of is It’s easier to write if you break it down into modules that can be developed and tested discretely. Secondly, code reuse. You could then reuse methods or even whole libraries.
when we are working in a team on big projects, different modules can be written by different people , that makes development of program faster. It is much more easier to debug our code as we can test each part individually and make out which part is causing the error. If we want to update our code , it's much easier. And when we are working on complex problems breaking it into small chunks makes it so much easier to solve it as we have to focus just on a small and simpler problem.
divide et impera
Join our real-time social learning platform and learn together with your friends!