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

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
主站蜘蛛池模板: 克什克腾旗| 湖南省| 广饶县| 个旧市| 丹江口市| 辰溪县| 吉木乃县| 霍林郭勒市| 抚顺市| 漠河县| 枣强县| 岫岩| 南召县| 乌海市| 西盟| 叶城县| 南乐县| 巫溪县| 陈巴尔虎旗| 万山特区| 潜山县| 渝北区| 富川| 平遥县| 北京市| 乌什县| 昭苏县| 客服| 岑巩县| 泸定县| 高要市| 洪江市| 泗阳县| 武隆县| 许昌市| 怀柔区| 仁寿县| 盱眙县| 隆化县| 上虞市| 彭州市|