Intellipaat Back

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

Can anyone tell me why would you choose to program in functional programming rather than OOP?

1 Answer

0 votes
by (119k points)
edited by

Object-oriented programming is the king of the back end and the best for security apps, but a Functional Programming approach shines for other tasks.  There are other tasks that do well with a functional technique. If you want to deal with unchanging values such as in mathematical calculations, functional programming is better. It’s better if you are not concerned with lower security concerns but want to produce solid and reliable apps.

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

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...