Procedural And Modular Programming Approaches.

Q4. What are the shortcomings of procedural and modular programming approaches?
 In procedural paradigm, the emphasis is on doing things. What happens to the data? Data is after all, the reason for a program’s existence. The important part of an inventory program isn’t a function that displays or checks data, it is the inventory data itself. Yet data is given second-class status while programming.

In modular programming, since many modules (or functions) access the same data, the way the data is stored becomes critical. The arrangement of the data can’t be changed without modifying all the functions that access it.

Another problem associated with procedural and modular programming is that their chief components – functions etc. do not model the real world very well.

Leave a Reply

Your email address will not be published. Required fields are marked *