Programming Approaches
Programming Approaches
till now -
1. Structured Programming -
➢ The basic principle of the structured programming approach is to divide a program into functions
and modules.
➢ The use of modules and functions makes the program more understandable and readable.
➢ It helps to write cleaner code and to maintain control over the functions and modules.
➢ This approach gives importance to functions rather than data.
➢ It focuses on the development of large software applications, like, C was used for modern
operating system development.
➢ The programming languages: The programming languages: PASCAL (introduced by Niklaus
Wirth) and C (introduced by Dennis Ritchie) follow this approach.
Advantages of OOPs –
➢ It models the real world very well.
➢ With OOP, programs are easy to understand and maintain.
➢ It offers code reusability. Already created classes can be reused without having to write them
again.
➢ It facilitates the quick development of programs where parallel development of classes is possible.
➢ With OOP, programs are easier to test, manage and debug.
Disadvantages of OOP –