Coupon Accepted Successfully!


Disadvantage of Conventional Programming

Traditional programming languages such as COBOL, FORTRAN, C etc. are commonly known as procedure oriented languages. The program written in these languages consists of a sequence of instructions that tells the compiler or interpreter to perform a given task. Numerous functions are initiated by the user to perform a task. When a program code is large, it becomes inconvenient to manage it. To overcome this problem, procedures or subroutines were adopted to make a program more understandable to the programmers. A program is divided into many functions.

Description: 9018.png

Flow of functions in non-OOP languages

Each function can call another function, as shown in Figure. Each function has its own task. If the program is too large the function also creates problems. In many programs, important data variables are declared as global. In case of programs containing several functions, every function can access the global data as per the simulation in Figure. In huge programs it is difficult to know what data is used by which function. Due to this the program may contain several logical errors.

Description: 9031.png

Sharing of data by functions in non-OOP languages

The following are the drawbacks observed in monolithic, procedure, and structured programming languages:

  1. Huge programs are divided into smaller programs known as functions. These functions can call one another. Hence security is not provided.
  2. No importance is given to security of data and importance is laid on doing things.
  3. Data passes globally from function to function.
  4. Most function accesses global data.

Test Your Skills Now!
Take a Quiz now
Reviewer Name