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

Some base elements of functional programming

Many of the examples described in this book follow the functional programming paradigm. Since ReactiveX is already using several principals of functional programming, it is a natural way to structure such applications. However, only a subset of the functional programming principals will be used. The structure and separation of responsibilities that will be done in the code rely on the following:

  • Lambdas and closure: These ease the readability of the code
  • Side effects and pure functions: These allow you to write deterministic and testable code
  • Higher-order functions: These are building blocks for many code constructs
主站蜘蛛池模板: 库尔勒市| 韩城市| 乌苏市| 松滋市| 确山县| 长宁县| 炎陵县| 烟台市| 星子县| 长乐市| 徐州市| 都安| 镇赉县| 和林格尔县| 金坛市| 华亭县| 台江县| 泉州市| 滦南县| 阿拉善右旗| 志丹县| 漳平市| 安塞县| 宝山区| 楚雄市| 海兴县| 闽清县| 桃江县| 贺兰县| 永修县| 五莲县| 榆林市| 社会| 隆安县| 铅山县| 江油市| 和顺县| 梁平县| 志丹县| 高陵县| 安丘市|