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

Summary

In this chapter, we've seen a common, simple problem, based on a real-life situation, and after analyzing several usual ways of solving that, we went for a functional thinking solution. We saw how to apply FP to our problem, and we also found a more general higher-order way that we could apply to similar problems, with no further code changes. We saw how to write unit tests for our code, to round out the development job. Finally, we even produced an even better solution (from the point of view of the user experience) and saw how to code it and how to unit test it.

In the next chapter 3, Starting Out with Functions - A Core Concept, we'll be delving more deeply into functions, which are at the core of all FP.

主站蜘蛛池模板: 宁化县| 商水县| 南开区| 上栗县| 永善县| 雷波县| 山阴县| 尚义县| 遵化市| 武义县| 江门市| 伊川县| 金堂县| 临汾市| 藁城市| 大庆市| 宝鸡市| 田东县| 土默特左旗| 札达县| 宜宾市| 武定县| 都兰县| 鱼台县| 专栏| 聂拉木县| 肥乡县| 九龙坡区| 富川| 福贡县| 林西县| 南皮县| 长子县| 葫芦岛市| 都兰县| 科技| 靖边县| 东方市| 招远市| 体育| 武宣县|