answersLogoWhite

0

Every program requires at least one module. While it is possible to write an entire program in just one module, the larger the program becomes the greater the cost in maintenance. That is, whenever we make any changes to that module, the entire program has to be recompiled. By splitting the program into modules, only those modules that have changed need to be recompiled.

Modular code also makes it easier to organise code because each module represents a particular aspect of the program. Ideally each module should be self-contained but there will inevitably be cases where one module is dependant upon another. Indeed, there may be several modules dependant upon the same module. However, this is an advantage rather than a disadvantage because modular code makes it much easier to write re-usable code; code that can be used in more than one program. In this way we do not have to re-invent wheels writing duplicate code, we only need to write the code once and use it wherever and whenever it is required.

User Avatar

Wiki User

10y ago

What else can I help you with?

Related Questions

What is an aspect-oriented programming language?

An aspect-oriented programming language is another name for an aspect-oriented language - a computer programming language which aims to increase modularity by allowing the separation of crosscutting concerns.


What is an aspect-oriented language?

An aspect-oriented language is a computer programming language which aims to increase modularity by allowing the separation of crosscutting concerns.


What are the four pillars object oriented programming?

1.Abstraction 2.Encapsulation 3.Modularity 4.Hierarchy


What is object composition and delegation?

Object composition is a design technique where an object contains other objects as attributes to achieve reuse and modularity. Delegation is a programming pattern where an object passes responsibilities to another object to achieve code reuse and maintainability. Both techniques promote code reuse, modularity, and maintainability in object-oriented programming.


What is AOP?

AOP or Aspect oriented Programming is A paradigm in Computer Science. In traditional object-oriented programming, common code like logging, exception handling scattered all across method, classes, object hierarchies, or even entire object models. so Aspect oriented programming is a technique to separate these concerns from real problem domain and increase modularity and reusability of program


Advantages of computer programming?

The advantages of computer programming is that it pays well since programming is a creative task. Computer programming helps human beings solve problems on a regular basis.


What is the diffirence of computer programming and computer science?

Computer science is a more abstract study of computing techniques; which will include computer programming. Computer programming, as it implies, is the practise of writing programs for computers.


How many pages does The Art of Computer Programming have?

The Art of Computer Programming has 634 pages.


How is writing is somewhat like computer programming?

writing and computer programming are basically the same!


How do you remove the governor on a 1992 dodge stealth rt tt?

It is part of the computer programming and can not be removed.It is part of the computer programming and can not be removed.


Where did IBM get their programming language?

Computer programming language


What is the easiest way to learn computer programming?

computer programming for dummies its a book and it teaches you everything