What are advantages of functional programming?

0

Can you please list a few good reasons to use functional languages ?

Edited question
0
  • Functional programming uses pure functions which are easier to debug
  • Program becomes extremely easy to debug/troubleshoot, isolate and find issues
  • Concurrent programming is easier since it follows a predefined execution sequence
  • Testing pure functions and hence functional programs is easier

pure function is a function which:

  • Given the same input, will always return the same output.

  • Produces no side effects.
Changed status to publish
Write your answer.

Categories