Object-oriented vs Procedure-oriented Programming languages

Post Reply
lokesh1
Posts: 36
Joined: Sun Mar 31, 2019 4:22 pm

Object-oriented vs Procedure-oriented Programming languages

Post by lokesh1 » Wed Apr 17, 2019 3:28 pm

Object-oriented vs Procedure-oriented Programming languages

Teja Reddy
Posts: 38
Joined: Sun Mar 31, 2019 6:24 am

Re: Object-oriented vs Procedure-oriented Programming languages

Post by Teja Reddy » Wed Apr 17, 2019 3:50 pm

Object-oriented Programming:

1)Object-oriented programming is the problem-solving approach and used where computation is done by using objects.
2)It makes the development and maintenance easier.
3)It simulates the real world entity. So real-world problems can be easily solved through oops.
4)It provides data hiding. So it is more secure than procedural languages. You cannot access private data from anywhere.
5)Example of object-oriented programming languages is C++, Java, .Net, Python, C#, etc.

Procedural Programming:
1)Procedural programming uses a list of instructions to do computation step by step.
2)In procedural programming, It is not easy to maintain the codes when the project becomes lengthy.
3)It doesn't simulate the real world. It works on step by step instructions divided into small parts called functions.
4)Procedural language doesn't provide any proper way for data binding, so it is less secure.
5)Example of procedural languages are: C, FORTRAN, Pascal, VB etc.

Post Reply

Return to “Python OOPS Concepts”