官术网_书友最值得收藏!

Functional programming

A lot of blogs, books, online tutorials, videos, and courses found on the World Wide Web start with a common statement, saying that Redux was built on the top of functional programming. The statement is valid, which means that developers like us need to understand the concept of functional programming.

Let's point out some of the important characteristics of functional programming, as follows:

  1. Functions are first class objects
  2. Functions can be chained together
  3. Functions can be passed as arguments
  4. Functions, recursions, and an array can be used to control the flow
  5. We can use pure, higher-order, closure, and anonymous functions
  6. We can utilize several helper functions, including map, filter, and reduce

In functional programming, functions are considered first class citizens. This means that the language does support passing functions to other functions as arguments, and returning them as the values for other functions. Moreover, they can also be assigned to other variables, or stored in some data structure.

主站蜘蛛池模板: 饶河县| 云林县| 哈尔滨市| 维西| 比如县| 潢川县| 公主岭市| 定兴县| 盐池县| 咸丰县| 惠安县| 阳曲县| 类乌齐县| 兴宁市| 安达市| 奎屯市| 黄石市| 新绛县| 永兴县| 屏东市| 多伦县| 大新县| 闻喜县| 集贤县| 舒城县| 贵定县| 巴彦淖尔市| 佛坪县| 卓尼县| 长春市| 平和县| 柘荣县| 南丰县| 大宁县| 孟连| 邯郸市| 武清区| 廊坊市| 闵行区| 昌图县| 承德县|