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

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
主站蜘蛛池模板: 曲靖市| 文登市| 武山县| 务川| 潢川县| 绥芬河市| 朝阳市| 绵阳市| 白银市| 玛纳斯县| 车险| 洪洞县| 延寿县| 苏州市| 文登市| 英山县| 沂源县| 奉新县| 梁山县| 铁岭市| 海淀区| 东乌珠穆沁旗| 五指山市| 怀化市| 德安县| 靖宇县| 龙胜| 城固县| 从化市| 调兵山市| 金寨县| 化德县| 高清| 澄城县| 沅江市| 将乐县| 延津县| 德令哈市| 高密市| 贺州市| 泰顺县|