What is the difference between in the Function Oriented Programming and then Object-Oriented Programming :
In the Function Oriented Programming and then Object-Oriented Programming and obviously, there are many good points and bad points of both programmings.
I have listed a brief summary of the different facilities that the functionality programming and then object oriented programming provide us.
Function Oriented Programming:-
Programming Organization: Program is divided into small parts called functions.
Importance: Importance is not given to data but to functions.
Approach: Function Oriented Programming follows a top-down approach.
Access Specifiers: Function Oriented Programming dose not any access specifier.
Data Moving: Data can move freely from function to function in the system.
Maintainability: To add new data and function is not easy.
Data Access: function uses global data for sharing that can be accessed freely from function to function freely in the system.
Data Hiding: No data hiding is possible, hence security is not possible.
Overloading: Polymorphism is not possible.
Examples: C, Visual Basic, FORTRAN, Pascal.