Explore Courses Blog Tutorials Interview Questions
0 votes
in Technology Trends by (55.6k points)

Can anyone tell me what is the difference between OOP and functional programming?

1 Answer

0 votes
by (119k points)

Functional programming is a programming technique that mainly deals with evaluating functions, developing the structure, and elements of computer programs. It is about evaluating expressions but not about executing commands or statements. It supports for structural programming.

Lisp, Wolfram, Erlang, Haskell, and others are some of the functional programming languages. Functional programming is also ideal for work in the data related scientific sector.

Object-oriented programming is a programming technique that uses abstraction to create models based on the real world. It uses several techniques like modularity, polymorphism, or encapsulation. Programming languages such as Java, C++, Python, and PHP use object-oriented programming languages.

You can watch this video on Functional Programming and OOP to understand more:

Browse Categories