What is benifit of using higher order functions?

Member

by pink , in category: Technology , 3 years ago

What is benifit of using higher order functions?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

Member

by leonor , 3 years ago

Higher order functions are those in which you can pass a function as an argument and returns a function as a result. There are many benefits to using them:

  • They provide flexibility but compromises with complexity.
  • They are useful in asynchronous communications in which simple functions can’t be used.
  • They improve the readability of code and decreases the length of the code.