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

  • Redux Quick Start Guide
  • James Lee Tao Wei Suresh Kumar Mukhiya
  • 160字
  • 2021-07-02 12:40:28

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.

主站蜘蛛池模板: 江华| 鄂伦春自治旗| 苍溪县| 靖州| 托克逊县| 林芝县| 新密市| 历史| 新乡市| 遵化市| 安庆市| 陆丰市| 柯坪县| 牙克石市| 峨眉山市| 仪陇县| 微博| 精河县| 治多县| 柳河县| 正阳县| 洛阳市| 邢台市| 古浪县| 遂川县| 鹰潭市| 沧州市| 松江区| 顺平县| 铜梁县| 沈阳市| 南川市| 巨鹿县| 门头沟区| 银川市| 大兴区| 通辽市| 屯昌县| 武义县| 富顺县| 七台河市|