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

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
主站蜘蛛池模板: 信阳市| 历史| 开江县| 奉贤区| 宽城| 和静县| 元阳县| 新津县| 德安县| 大姚县| 蚌埠市| 天长市| 昌江| 若尔盖县| 那坡县| 黄山市| 平果县| 贵南县| 无为县| 木里| 和政县| 建阳市| 德惠市| 射洪县| 陇川县| 长兴县| 揭阳市| 华宁县| 宜川县| 广西| 茌平县| 吉隆县| 乌拉特后旗| 龙陵县| 福泉市| 龙里县| 罗平县| 雷波县| 乐山市| 玉林市| 宁乡县|