What are advantages of functional programming?


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

Edited question
  • 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.